Package org.eclipse.jdt.internal.compiler.ast

Examples of org.eclipse.jdt.internal.compiler.ast.Receiver


    }
    return annotationTypeMemberDeclaration2;
  }

  private void convertAndSetReceiver(AbstractMethodDeclaration method, MethodDeclaration methodDecl) {
    Receiver receiver = method.receiver;
    if (receiver.qualifyingName != null) {
      final SimpleName name = new SimpleName(this.ast);
      name.internalSetIdentifier(new String(receiver.qualifyingName.getName()[0]));
      int start = receiver.qualifyingName.sourceStart;
      int nameEnd = receiver.qualifyingName.sourceEnd;
View Full Code Here


        if ((methodDeclaration.bits & ASTNode.HasTypeAnnotations) != 0) {
          Argument[] arguments = methodDeclaration.arguments;
          if (arguments != null) {
            completeArgumentAnnotationInfo(arguments, allTypeAnnotationContexts);
          }
          Receiver receiver = methodDeclaration.receiver;
          if (receiver != null && (receiver.type.bits & ASTNode.HasTypeAnnotations) != 0) {
            receiver.type.getAllAnnotationContexts(AnnotationTargetTypeConstants.METHOD_RECEIVER, allTypeAnnotationContexts);
          }
        }
        Annotation[] annotations = methodDeclaration.annotations;
View Full Code Here

    type.bits |= ASTNode.IsVarArgs; // set isVarArgs
  }
  int modifierPositions = this.intStack[this.intPtr--];
  Argument arg;
  if (isReceiver) {
    arg = new Receiver(
        identifierName,
        namePositions,
        type,
        qualifyingNameReference,
        this.intStack[this.intPtr--] & ~ClassFileConstants.AccDeprecated);
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.compiler.ast.Receiver

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.