public TypeBinding resolveType(BlockScope scope, boolean checkBounds, int location) { if (this.bound != null) { this.bound.resolveType(scope, checkBounds, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } // only invoked for improving resilience when unable to bind generic type from parameterized reference
public TypeBinding resolveType(ClassScope scope) { if (this.bound != null) { this.bound.resolveType(scope); } return null; } public TypeBinding resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) {
public TypeBinding resolveType(ClassScope scope, int location) { if (this.bound != null) { this.bound.resolveType(scope, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } public TypeBinding resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) {
public TypeBinding resolveType(ClassScope scope, int location) { if (this.bound != null) { this.bound.resolveType(scope, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } public TypeBinding resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) {
public TypeBinding resolveType(BlockScope scope, boolean checkBounds) { if (this.bound != null) { this.bound.resolveType(scope, checkBounds); } return null; } // only invoked for improving resilience when unable to bind generic type from parameterized reference
public TypeBinding resolveType(BlockScope scope, boolean checkBounds, int location) { if (this.bound != null) { this.bound.resolveType(scope, checkBounds, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } // only invoked for improving resilience when unable to bind generic type from parameterized reference
public TypeBinding resolveType(BlockScope scope, boolean checkBounds, int location) { if (this.bound != null) { this.bound.resolveType(scope, checkBounds, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } // only invoked for improving resilience when unable to bind generic type from parameterized reference
public TypeBinding resolveType(ClassScope scope, int location) { if (this.bound != null) { this.bound.resolveType(scope, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } public TypeBinding resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) {
@Override public TypeBinding resolveType(BlockScope scope, boolean checkBounds, int location) { if (this.bound != null) { this.bound.resolveType(scope, checkBounds, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } // only invoked for improving resilience when unable to bind generic type from parameterized reference
@Override public TypeBinding resolveType(ClassScope scope, int location) { if (this.bound != null) { this.bound.resolveType(scope, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } @Override
public TypeBinding resolveType(ClassScope scope, int location) { if (this.bound != null) { this.bound.resolveType(scope, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } public TypeBinding resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) {
public TypeBinding resolveType(BlockScope scope, boolean checkBounds, int location) { if (this.bound != null) { this.bound.resolveType(scope, checkBounds, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } // only invoked for improving resilience when unable to bind generic type from parameterized reference
public TypeBinding resolveType(BlockScope scope, boolean checkBounds, int location) { if (this.bound != null) { this.bound.resolveType(scope, checkBounds, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } // only invoked for improving resilience when unable to bind generic type from parameterized reference
public TypeBinding resolveType(ClassScope scope) { if (this.bound != null) { this.bound.resolveType(scope); } return null; } public TypeBinding resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) {
public TypeBinding resolveType(ClassScope scope, int location) { if (this.bound != null) { this.bound.resolveType(scope, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } public TypeBinding resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) {
public TypeBinding resolveType(BlockScope scope, boolean checkBounds) { if (this.bound != null) { this.bound.resolveType(scope, checkBounds); } return null; } // only invoked for improving resilience when unable to bind generic type from parameterized reference
public TypeBinding resolveType(ClassScope scope, int location) { if (this.bound != null) { this.bound.resolveType(scope, Binding.DefaultLocationTypeBound); this.bits |= (this.bound.bits & ASTNode.HasTypeAnnotations); } return null; } public TypeBinding resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) {
@Override public TypeSpi getReturnType() { if (m_returnType == null && m_astNode instanceof MethodDeclaration) { TypeReference ref = ((MethodDeclaration) m_astNode).returnType; if (ref.resolvedType == null) { ref.resolveType(m_astNode.scope); } TypeSpi result = SpiWithJdtUtils.bindingToType(m_env, ref.resolvedType); m_returnType = result; } return m_returnType; }
public TypeBinding resolveSuperType(ClassScope scope) { // assumes the implementation of resolveType(ClassScope) will call back to detect cycles TypeBinding superType = resolveType(scope); if (superType == null) return null; if (superType.isTypeVariable()) { if (this.resolvedType.isValidBinding()) { this.resolvedType = new ProblemReferenceBinding(getTypeName(), (ReferenceBinding)this.resolvedType, ProblemReasons.IllegalSuperTypeVariable); reportInvalidType(scope); } return null; } return superType; }
public TypeBinding resolveSuperType(ClassScope scope) { // assumes the implementation of resolveType(ClassScope) will call back to detect cycles TypeBinding superType = resolveType(scope); if (superType == null) return null; if (superType.isTypeVariable()) { if (this.resolvedType.isValidBinding()) { this.resolvedType = new ProblemReferenceBinding(getTypeName(), (ReferenceBinding)this.resolvedType, ProblemReasons.IllegalSuperTypeVariable); reportInvalidType(scope); } return null; } return superType; }