Package org.aspectj.ajdt.internal.compiler.ast

Examples of org.aspectj.ajdt.internal.compiler.ast.InterTypeFieldDeclaration


      // if we don't make the distinction between ITD fields and other
      // methods, then we loose the type, for example int, for the field
      // and instead get "void".
      if (peNode.getKind().equals(IProgramElement.Kind.INTER_TYPE_FIELD)) {

        InterTypeFieldDeclaration itfd = (InterTypeFieldDeclaration) methodDeclaration;
        if (itfd.getRealFieldType() != null) {
          peNode.setCorrespondingType(new String(itfd.getRealFieldType().readableName()));
        } else {
          peNode.setCorrespondingType(null);
        }

        // was peNode.setCorrespondingType(methodDeclaration.returnType.toString());
View Full Code Here


    DeclareAnnotationDeclaration decl = new DeclareAnnotationDeclaration(result, declare, annotation);
    return decl;
  }

  public MethodDeclaration createInterTypeFieldDeclaration(CompilationResult result, TypeReference onType) {
    return new InterTypeFieldDeclaration(result, onType);
  }
View Full Code Here

 
  /* (non-Javadoc)
   * @see org.eclipse.jdt.internal.compiler.parser.Parser.IDeclarationFactory#createInterTypeFieldDeclaration(org.eclipse.jdt.internal.compiler.CompilationResult, org.eclipse.jdt.internal.compiler.ast.TypeReference)
   */
  public MethodDeclaration createInterTypeFieldDeclaration(CompilationResult result, TypeReference onType) {
    return new InterTypeFieldDeclaration(result,onType);
  }
View Full Code Here

TOP

Related Classes of org.aspectj.ajdt.internal.compiler.ast.InterTypeFieldDeclaration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.