protected ITypeAnnotationWalker restrict(long newMatches, int newPathPtr) { if (this.matches == newMatches && this.pathPtr == newPathPtr) return this; if (newMatches == 0 || this.typeAnnotations == null || this.typeAnnotations.length == 0) return EMPTY_ANNOTATION_WALKER; return new TypeAnnotationWalker(this.typeAnnotations, newMatches, newPathPtr); }
protected ITypeAnnotationWalker restrict(long newMatches, int newPathPtr) { if (this.matches == newMatches && this.pathPtr == newPathPtr) return this; if (newMatches == 0 || this.typeAnnotations == null || this.typeAnnotations.length == 0) return EMPTY_ANNOTATION_WALKER; return new TypeAnnotationWalker(this.typeAnnotations, newMatches, newPathPtr); }
protected ITypeAnnotationWalker restrict(long newMatches, int newPathPtr) { if (this.matches == newMatches && this.pathPtr == newPathPtr) return this; if (newMatches == 0 || this.typeAnnotations == null || this.typeAnnotations.length == 0) return EMPTY_ANNOTATION_WALKER; return new TypeAnnotationWalker(this.typeAnnotations, newMatches, newPathPtr); }
protected TypeAnnotationWalker restrict(long newMatches, int newPathPtr) { if (this.matches == newMatches && this.pathPtr == newPathPtr) return this; if (newMatches == 0 || this.typeAnnotations == null || this.typeAnnotations.length == 0) return EMPTY_ANNOTATION_WALKER; return new TypeAnnotationWalker(this.typeAnnotations, newMatches, newPathPtr); }
protected TypeAnnotationWalker restrict(long newMatches, int newPathPtr) { if (this.matches == newMatches && this.pathPtr == newPathPtr) return this; if (newMatches == 0 || this.typeAnnotations == null || this.typeAnnotations.length == 0) return EMPTY_ANNOTATION_WALKER; return new TypeAnnotationWalker(this.typeAnnotations, newMatches, newPathPtr); }
protected ITypeAnnotationWalker restrict(long newMatches, int newPathPtr) { if (this.matches == newMatches && this.pathPtr == newPathPtr) return this; if (newMatches == 0 || this.typeAnnotations == null || this.typeAnnotations.length == 0) return EMPTY_ANNOTATION_WALKER; return new TypeAnnotationWalker(this.typeAnnotations, newMatches, newPathPtr); }
protected TypeAnnotationWalker restrict(long newMatches, int newPathPtr) { if (this.matches == newMatches && this.pathPtr == newPathPtr) return this; if (newMatches == 0 || this.typeAnnotations == null || this.typeAnnotations.length == 0) return EMPTY_ANNOTATION_WALKER; return new TypeAnnotationWalker(this.typeAnnotations, newMatches, newPathPtr); }
protected ITypeAnnotationWalker restrict(long newMatches, int newPathPtr) { if (this.matches == newMatches && this.pathPtr == newPathPtr) return this; if (newMatches == 0 || this.typeAnnotations == null || this.typeAnnotations.length == 0) return EMPTY_ANNOTATION_WALKER; return new TypeAnnotationWalker(this.typeAnnotations, newMatches, newPathPtr); }
private TypeAnnotationWalker getTypeAnnotationWalker(IBinaryTypeAnnotation[] annotations) { if (!isPrototype()) throw new IllegalStateException(); if (annotations == null || annotations.length == 0 || !this.environment.usesAnnotatedTypeSystem()) { if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { int nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(nullness, this.environment); } return TypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { int nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(annotations, nullness, this.environment); } return new TypeAnnotationWalker(annotations); }
private TypeAnnotationWalker getTypeAnnotationWalker(IBinaryTypeAnnotation[] annotations) { if (!isPrototype()) throw new IllegalStateException(); if (annotations == null || annotations.length == 0 || !this.environment.usesAnnotatedTypeSystem()) { if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { int nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(nullness, this.environment); } return TypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { int nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(annotations, nullness, this.environment); } return new TypeAnnotationWalker(annotations); }
private TypeAnnotationWalker getTypeAnnotationWalker(IBinaryTypeAnnotation[] annotations) { if (!isPrototype()) throw new IllegalStateException(); if (annotations == null || annotations.length == 0 || !this.environment.usesAnnotatedTypeSystem()) { if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { int nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(nullness, this.environment); } return TypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { int nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(annotations, nullness, this.environment); } return new TypeAnnotationWalker(annotations); }
private ITypeAnnotationWalker getTypeAnnotationWalker(IBinaryTypeAnnotation[] annotations, int nullness) { if (!isPrototype()) throw new IllegalStateException(); if (annotations == null || annotations.length == 0 || !this.environment.usesAnnotatedTypeSystem()) { if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(nullness, this.environment); } return ITypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(annotations, nullness, this.environment); } return new TypeAnnotationWalker(annotations); }
private ITypeAnnotationWalker getTypeAnnotationWalker(IBinaryTypeAnnotation[] annotations, int nullness) { if (!isPrototype()) throw new IllegalStateException(); if (annotations == null || annotations.length == 0 || !this.environment.usesAnnotatedTypeSystem()) { if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(nullness, this.environment); } return ITypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(annotations, nullness, this.environment); } return new TypeAnnotationWalker(annotations); }
private ITypeAnnotationWalker getTypeAnnotationWalker(IBinaryTypeAnnotation[] annotations, int nullness) { if (!isPrototype()) throw new IllegalStateException(); if (annotations == null || annotations.length == 0 || !this.environment.usesAnnotatedTypeSystem()) { if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(nullness, this.environment); } return ITypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(annotations, nullness, this.environment); } return new TypeAnnotationWalker(annotations); }
private ITypeAnnotationWalker getTypeAnnotationWalker(IBinaryTypeAnnotation[] annotations, int nullness) { if (!isPrototype()) throw new IllegalStateException(); if (annotations == null || annotations.length == 0 || !this.environment.usesAnnotatedTypeSystem()) { if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(nullness, this.environment); } return ITypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(annotations, nullness, this.environment); } return new TypeAnnotationWalker(annotations); }
private ITypeAnnotationWalker getTypeAnnotationWalker(IBinaryTypeAnnotation[] annotations, int nullness) { if (!isPrototype()) throw new IllegalStateException(); if (annotations == null || annotations.length == 0 || !this.environment.usesAnnotatedTypeSystem()) { if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(nullness, this.environment); } return ITypeAnnotationWalker.EMPTY_ANNOTATION_WALKER; } if (this.environment.globalOptions.isAnnotationBasedNullAnalysisEnabled) { if (nullness == Binding.NO_NULL_DEFAULT) nullness = getNullDefault(); if (nullness > Binding.NULL_UNSPECIFIED_BY_DEFAULT) return new NonNullDefaultAwareTypeAnnotationWalker(annotations, nullness, this.environment); } return new TypeAnnotationWalker(annotations); }
if (walker instanceof NonNullDefaultAwareTypeAnnotationWalker) { NonNullDefaultAwareTypeAnnotationWalker nonNullDefaultAwareTypeAnnotationWalker = (NonNullDefaultAwareTypeAnnotationWalker) walker; return new TypeAnnotationWalker(nonNullDefaultAwareTypeAnnotationWalker.typeAnnotations, nonNullDefaultAwareTypeAnnotationWalker.matches, nonNullDefaultAwareTypeAnnotationWalker.pathPtr);