@Override public ITypeAnnotationWalker toField() { // don't set nextIsDefaultLocation, because field-level nullness is handled by BinaryTypeBinding.scanFieldForNullAnnotation if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toField(); }
@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 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 public ITypeAnnotationWalker toMethodParameter(short index) { // don't set nextIsDefaultLocation, because signature-level nullness is handled by ImplicitNullAnnotationVerifier (triggered per invocation via MessageSend.resolveType() et al) if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toMethodParameter(index); }
@Override public ITypeAnnotationWalker toField() { // don't set nextIsDefaultLocation, because field-level nullness is handled by BinaryTypeBinding.scanFieldForNullAnnotation if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toField(); }
@Override public ITypeAnnotationWalker toMethodReturn() { // don't set nextIsDefaultLocation, because signature-level nullness is handled by ImplicitNullAnnotationVerifier (triggered per invocation via MessageSend.resolveType() et al) if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toMethodReturn(); }
@Override public TypeAnnotationWalker toMethodParameter(short index) { // don't set nextIsDefaultLocation, because signature-level nullness is handled by ImplicitNullAnnotationVerifier if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toMethodParameter(index); }
@Override public ITypeAnnotationWalker toField() { // don't set nextIsDefaultLocation, because field-level nullness is handled by BinaryTypeBinding.scanFieldForNullAnnotation if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toField(); }
@Override public TypeAnnotationWalker toMethodParameter(short index) { // don't set nextIsDefaultLocation, because signature-level nullness is handled by ImplicitNullAnnotationVerifier if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toMethodParameter(index); }
@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 public ITypeAnnotationWalker toSupertype(short index, char[] superTypeSignature) { if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toSupertype(index, superTypeSignature); }
@Override public ITypeAnnotationWalker toMethodReturn() { // don't set nextIsDefaultLocation, because signature-level nullness is handled by ImplicitNullAnnotationVerifier (triggered per invocation via MessageSend.resolveType() et al) if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toMethodReturn(); }
@Override public ITypeAnnotationWalker toTypeBound(short boundIndex) { this.nextIsDefaultLocation = (this.defaultNullness & Binding.DefaultLocationTypeBound) != 0; this.nextIsTypeBound = true; this.nextArrayContentIsNonNull = false; if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toTypeBound(boundIndex); }
@Override protected ITypeAnnotationWalker toNextDetail(int detailKind) { if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toNextDetail(detailKind); }
@Override public TypeAnnotationWalker toMethodParameter(short index) { // don't set nextIsDefaultLocation, because signature-level nullness is handled by ImplicitNullAnnotationVerifier if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toMethodParameter(index); }
@Override public ITypeAnnotationWalker toTypeBound(short boundIndex) { this.nextIsDefaultLocation = (this.defaultNullness & Binding.DefaultLocationTypeBound) != 0; this.nextIsTypeBound = true; this.nextArrayContentIsNonNull = false; if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toTypeBound(boundIndex); }
@Override public ITypeAnnotationWalker toWildcardBound() { this.nextIsDefaultLocation = (this.defaultNullness & Binding.DefaultLocationTypeBound) != 0; this.nextIsTypeBound = true; this.nextArrayContentIsNonNull = false; if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toWildcardBound(); }
@Override public ITypeAnnotationWalker toMethodParameter(short index) { // don't set nextIsDefaultLocation, because signature-level nullness is handled by ImplicitNullAnnotationVerifier (triggered per invocation via MessageSend.resolveType() et al) if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toMethodParameter(index); }
@Override public ITypeAnnotationWalker toMethodReturn() { // don't set nextIsDefaultLocation, because signature-level nullness is handled by ImplicitNullAnnotationVerifier (triggered per invocation via MessageSend.resolveType() et al) if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toMethodReturn(); }
@Override protected ITypeAnnotationWalker toNextDetail(int detailKind) { if (this.isEmpty) return restrict(this.matches, this.pathPtr); return super.toNextDetail(detailKind); }