@Override public void printMessage(Kind kind, CharSequence msg, Element e, AnnotationMirror a) { printMessage(kind, msg, e, a, null); }
@Override protected Object clone() throws CloneNotSupportedException { return new ForwardingWriter(this._w); } @Override
@Override public boolean visit(TypeParameter typeParameter, ClassScope scope) { Annotation[] annotations = typeParameter.annotations; if (annotations != null) { TypeVariableBinding binding = typeParameter.binding; if (binding == null) { return false; } this.resolveAnnotations(scope.referenceContext.initializerScope, annotations, binding); } return false; }
@Override public void printMessage(Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v) { if (kind == Kind.ERROR) { _processingEnv.setErrorRaised(true); } CategorizedProblem problem = createProblem(kind, msg, e, a, v); if (problem != null) { this._compiler.addExtraProblems(problem); } } }
@Override protected Object clone() throws CloneNotSupportedException { return new ForwardingOutputStream(this._os); } @Override
@Override public boolean errorRaised() { return _processingEnv.errorRaised(); }
@Override public ReferenceBinding[] getNewClassFiles() { return _processingEnv.getNewClassFiles(); }
private static Annotation findAnnotation(Annotation[] elementAnnotations, AnnotationBinding annotationBinding) { for (int i = 0; i < elementAnnotations.length; i++) { Annotation annotation = findAnnotation(elementAnnotations[i], annotationBinding); if (annotation != null) { return annotation; } } return null; }
@Override public void printMessage(Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v) { if (kind == Kind.ERROR) { _processingEnv.setErrorRaised(true); } CategorizedProblem problem = createProblem(kind, msg, e, a, v); if (problem != null) { this._compiler.addExtraProblems(problem); } } }
@Override protected Object clone() throws CloneNotSupportedException { return new ForwardingOutputStream(this._os); } @Override
@Override public boolean visit(TypeParameter typeParameter, ClassScope scope) { Annotation[] annotations = typeParameter.annotations; if (annotations != null) { TypeVariableBinding binding = typeParameter.binding; if (binding == null) { return false; } this.resolveAnnotations(scope.referenceContext.initializerScope, annotations, binding); } return false; }
@Override public boolean errorRaised() { return _processingEnv.errorRaised(); }
@Override public void printMessage(Kind kind, CharSequence msg, Element e, AnnotationMirror a) { printMessage(kind, msg, e, a, null); }
@Override protected Object clone() throws CloneNotSupportedException { return new ForwardingWriter(this._w); } @Override
private static Annotation findAnnotation(Annotation[] elementAnnotations, AnnotationBinding annotationBinding) { for (int i = 0; i < elementAnnotations.length; i++) { Annotation annotation = findAnnotation(elementAnnotations[i], annotationBinding); if (annotation != null) { return annotation; } } return null; }
@Override protected Object clone() throws CloneNotSupportedException { return new ForwardingOutputStream(this._os); } @Override
@Override public boolean visit(TypeParameter typeParameter, ClassScope scope) { Annotation[] annotations = typeParameter.annotations; if (annotations != null) { TypeVariableBinding binding = typeParameter.binding; if (binding == null) { return false; } this.resolveAnnotations(scope.referenceContext.initializerScope, annotations, binding); } return false; }
@Override public boolean errorRaised() { return _processingEnv.errorRaised(); }
@Override public void printMessage(Kind kind, CharSequence msg, Element e, AnnotationMirror a) { printMessage(kind, msg, e, a, null); }
@Override protected Object clone() throws CloneNotSupportedException { return new ForwardingOutputStream(this._os); } @Override