protected void classInstanceCreation(boolean alwaysQualified) { boolean previousFlag = this.reportReferenceInfo; this.reportReferenceInfo = false; // not to see the type reference reported in super call to getTypeReference(...) super.classInstanceCreation(alwaysQualified); this.reportReferenceInfo = previousFlag; if (this.reportReferenceInfo){ AllocationExpression alloc = (AllocationExpression)this.expressionStack[this.expressionPtr]; TypeReference typeRef = alloc.type; this.requestor.acceptConstructorReference( typeRef instanceof SingleTypeReference ? ((SingleTypeReference) typeRef).token : CharOperation.concatWith(alloc.type.getParameterizedTypeName(), '.'), alloc.arguments == null ? 0 : alloc.arguments.length, alloc.sourceStart); } } protected void consumeAnnotationAsModifier() {
@Override protected void classInstanceCreation(boolean alwaysQualified) { boolean previousFlag = this.reportReferenceInfo; this.reportReferenceInfo = false; // not to see the type reference reported in super call to getTypeReference(...) super.classInstanceCreation(alwaysQualified); this.reportReferenceInfo = previousFlag; if (this.reportReferenceInfo){ AllocationExpression alloc = (AllocationExpression)this.expressionStack[this.expressionPtr]; TypeReference typeRef = alloc.type; this.requestor.acceptConstructorReference( typeRef instanceof SingleTypeReference ? ((SingleTypeReference) typeRef).token : CharOperation.concatWith(alloc.type.getParameterizedTypeName(), '.'), alloc.arguments == null ? 0 : alloc.arguments.length, alloc.sourceStart); } } @Override
protected void classInstanceCreation(boolean alwaysQualified) { boolean previousFlag = this.reportReferenceInfo; this.reportReferenceInfo = false; // not to see the type reference reported in super call to getTypeReference(...) super.classInstanceCreation(alwaysQualified); this.reportReferenceInfo = previousFlag; if (this.reportReferenceInfo){ AllocationExpression alloc = (AllocationExpression)this.expressionStack[this.expressionPtr]; TypeReference typeRef = alloc.type; this.requestor.acceptConstructorReference( typeRef instanceof SingleTypeReference ? ((SingleTypeReference) typeRef).token : CharOperation.concatWith(alloc.type.getParameterizedTypeName(), '.'), alloc.arguments == null ? 0 : alloc.arguments.length, alloc.sourceStart); } } protected void consumeAnnotationAsModifier() {
protected void classInstanceCreation(boolean alwaysQualified) { boolean previousFlag = this.reportReferenceInfo; this.reportReferenceInfo = false; // not to see the type reference reported in super call to getTypeReference(...) super.classInstanceCreation(alwaysQualified); this.reportReferenceInfo = previousFlag; if (this.reportReferenceInfo){ AllocationExpression alloc = (AllocationExpression)this.expressionStack[this.expressionPtr]; TypeReference typeRef = alloc.type; this.requestor.acceptConstructorReference( typeRef instanceof SingleTypeReference ? ((SingleTypeReference) typeRef).token : CharOperation.concatWith(alloc.type.getParameterizedTypeName(), '.'), alloc.arguments == null ? 0 : alloc.arguments.length, alloc.sourceStart); } } protected void consumeAnnotationAsModifier() {
protected void classInstanceCreation(boolean alwaysQualified) { boolean previousFlag = this.reportReferenceInfo; this.reportReferenceInfo = false; // not to see the type reference reported in super call to getTypeReference(...) super.classInstanceCreation(alwaysQualified); this.reportReferenceInfo = previousFlag; if (this.reportReferenceInfo){ AllocationExpression alloc = (AllocationExpression)this.expressionStack[this.expressionPtr]; TypeReference typeRef = alloc.type; this.requestor.acceptConstructorReference( typeRef instanceof SingleTypeReference ? ((SingleTypeReference) typeRef).token : CharOperation.concatWith(alloc.type.getParameterizedTypeName(), '.'), alloc.arguments == null ? 0 : alloc.arguments.length, alloc.sourceStart); } } protected void consumeAnnotationAsModifier() {
protected void classInstanceCreation(boolean alwaysQualified) { boolean previousFlag = this.reportReferenceInfo; this.reportReferenceInfo = false; // not to see the type reference reported in super call to getTypeReference(...) super.classInstanceCreation(alwaysQualified); this.reportReferenceInfo = previousFlag; if (this.reportReferenceInfo){ AllocationExpression alloc = (AllocationExpression)this.expressionStack[this.expressionPtr]; TypeReference typeRef = alloc.type; this.requestor.acceptConstructorReference( typeRef instanceof SingleTypeReference ? ((SingleTypeReference) typeRef).token : CharOperation.concatWith(alloc.type.getParameterizedTypeName(), '.'), alloc.arguments == null ? 0 : alloc.arguments.length, alloc.sourceStart); } } protected void consumeAnnotationAsModifier() {
protected void classInstanceCreation(boolean alwaysQualified) { boolean previousFlag = this.reportReferenceInfo; this.reportReferenceInfo = false; // not to see the type reference reported in super call to getTypeReference(...) super.classInstanceCreation(alwaysQualified); this.reportReferenceInfo = previousFlag; if (this.reportReferenceInfo){ AllocationExpression alloc = (AllocationExpression)this.expressionStack[this.expressionPtr]; TypeReference typeRef = alloc.type; this.requestor.acceptConstructorReference( typeRef instanceof SingleTypeReference ? ((SingleTypeReference) typeRef).token : CharOperation.concatWith(alloc.type.getParameterizedTypeName(), '.'), alloc.arguments == null ? 0 : alloc.arguments.length, alloc.sourceStart); } } protected void consumeAnnotationAsModifier() {