protected void initialize() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].initialize(); } super.initialize(); } protected void reset() {
protected void initialize() { for (int i = 0, l = this.annotations == null ? 0 : this.annotations.length; i < l; i++) if (this.annotations[i] != null) this.annotations[i].initialize(); super.initialize(); } protected void reset() {
protected void reset() { for (int i = 0, l = this.parameterAnnotations == null ? 0 : this.parameterAnnotations.length; i < l; i++) { AnnotationInfo[] infos = this.parameterAnnotations[i]; for (int j = 0, k = infos == null ? 0 : infos.length; j < k; j++) infos[j].reset(); } super.reset(); } protected void toStringContent(StringBuffer buffer) {
protected void initialize() { if (this.annotations != null) for (int i = 0, max = this.annotations.length; i < max; i++) this.annotations[i].initialize(); super.initialize(); } protected void reset() {
protected void initialize() { for (int i = 0, l = this.annotations == null ? 0 : this.annotations.length; i < l; i++) if (this.annotations[i] != null) this.annotations[i].initialize(); super.initialize(); } protected void reset() {
@Override public ITypeAnnotationWalker toTypeParameter(boolean isClassTypeParameter, int rank) { this.nextIsDefaultLocation = (this.defaultNullness & Binding.DefaultLocationTypeParameter) != 0; this.nextIsTypeBound = false; if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toTypeParameter(isClassTypeParameter, rank); }
@Override public ITypeAnnotationWalker toWildcardBound() { this.nextIsDefaultLocation = (this.defaultNullness & Binding.DefaultLocationTypeBound) != 0; this.nextIsTypeBound = true; if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toWildcardBound(); }
@Override protected void initialize() { for (int i = 0, max = this.typeAnnotations.length; i < max; i++) this.typeAnnotations[i].initialize(); super.initialize(); } @Override
@Override public ITypeAnnotationWalker toNextArrayDimension() { boolean hasNNBDForArrayContents = (this.defaultNullness & Binding.DefaultLocationArrayContents) != 0; if (hasNNBDForArrayContents) { this.nextArrayContentIsNonNull = true; } this.nextIsDefaultLocation = false; this.nextIsTypeBound = false; if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toNextArrayDimension(); }
@Override protected void initialize() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].initialize(); } super.initialize(); } @Override
@Override public ITypeAnnotationWalker toWildcardBound() { switch (this.source[this.pos]) { case '-': case '+': int newPos = skipNullAnnotation(this.pos+1); return new MethodAnnotationWalker(this.source, newPos, this.environment); default: // includes unbounded '*' return ITypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } }
@Override public ITypeAnnotationWalker toNextArrayDimension() { if (this.source[this.pos] == '[') { int newPos = skipNullAnnotation(this.pos+1); return new MethodAnnotationWalker(this.source, newPos, this.environment); } return ITypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; }