/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticEnclosingInstanceTypes() */ public ReferenceBinding[] syntheticEnclosingInstanceTypes() { return genericType().syntheticEnclosingInstanceTypes(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticOuterLocalVariables() */ @Override public SyntheticArgumentBinding[] syntheticOuterLocalVariables() { return genericType().syntheticOuterLocalVariables(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticEnclosingInstanceTypes() */ @Override public ReferenceBinding[] syntheticEnclosingInstanceTypes() { return genericType().syntheticEnclosingInstanceTypes(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticOuterLocalVariables() */ public SyntheticArgumentBinding[] syntheticOuterLocalVariables() { return genericType().syntheticOuterLocalVariables(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticOuterLocalVariables() */ public SyntheticArgumentBinding[] syntheticOuterLocalVariables() { return genericType().syntheticOuterLocalVariables(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticEnclosingInstanceTypes() */ public ReferenceBinding[] syntheticEnclosingInstanceTypes() { return genericType().syntheticEnclosingInstanceTypes(); }
public ITypeBinding getTypeDeclaration() { if (this.binding instanceof ParameterizedTypeBinding) return this.resolver.getTypeBinding(((ParameterizedTypeBinding)this.binding).genericType()); return this; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticEnclosingInstanceTypes() */ public ReferenceBinding[] syntheticEnclosingInstanceTypes() { return genericType().syntheticEnclosingInstanceTypes(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticOuterLocalVariables() */ public SyntheticArgumentBinding[] syntheticOuterLocalVariables() { return genericType().syntheticOuterLocalVariables(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticEnclosingInstanceTypes() */ public ReferenceBinding[] syntheticEnclosingInstanceTypes() { return genericType().syntheticEnclosingInstanceTypes(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticOuterLocalVariables() */ public SyntheticArgumentBinding[] syntheticOuterLocalVariables() { return genericType().syntheticOuterLocalVariables(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticOuterLocalVariables() */ public SyntheticArgumentBinding[] syntheticOuterLocalVariables() { return genericType().syntheticOuterLocalVariables(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticOuterLocalVariables() */ public SyntheticArgumentBinding[] syntheticOuterLocalVariables() { return genericType().syntheticOuterLocalVariables(); }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#syntheticEnclosingInstanceTypes() */ public ReferenceBinding[] syntheticEnclosingInstanceTypes() { return genericType().syntheticEnclosingInstanceTypes(); }
ref = getTypeReference(((ParameterizedTypeBinding) binding).genericType()); } else if (binding instanceof ParameterizedTypeBinding) { if (binding.actualType() != null && binding.actualType() instanceof LocalTypeBinding) {
private boolean isLocal(ReferenceBinding binding) { if(binding instanceof ParameterizedTypeBinding) { return isLocal(((ParameterizedTypeBinding)binding).genericType()); } if (!(binding instanceof SourceTypeBinding)) return false; if (binding instanceof LocalTypeBinding) return true; if (binding instanceof MemberTypeBinding) { return isLocal(((MemberTypeBinding)binding).enclosingType); } return false; }
private boolean isLocal(ReferenceBinding binding) { if(binding instanceof ParameterizedTypeBinding) { return isLocal(((ParameterizedTypeBinding)binding).genericType()); } if (!(binding instanceof SourceTypeBinding)) return false; if (binding instanceof LocalTypeBinding) return true; if (binding instanceof MemberTypeBinding) { return isLocal(((MemberTypeBinding)binding).enclosingType); } return false; }
public ReferenceBinding findGroundTargetTypeForElidedLambda(BlockScope blockScope, ParameterizedTypeBinding withWildCards) { // non-wildcard parameterization (9.8) of the target type TypeBinding[] types = withWildCards.getNonWildcardParameterization(blockScope); if (types == null) return null; ReferenceBinding genericType = withWildCards.genericType(); return blockScope.environment().createParameterizedType(genericType, types, withWildCards.enclosingType()); }
public ReferenceBinding findGroundTargetTypeForElidedLambda(BlockScope blockScope, ParameterizedTypeBinding withWildCards) { // non-wildcard parameterization (9.8) of the target type TypeBinding[] types = withWildCards.getNonWildcardParameterization(blockScope); if (types == null) return null; ReferenceBinding genericType = withWildCards.genericType(); return blockScope.environment().createParameterizedType(genericType, types, withWildCards.enclosingType()); }
public ReferenceBinding findGroundTargetTypeForElidedLambda(BlockScope blockScope, ParameterizedTypeBinding withWildCards) { // non-wildcard parameterization (9.8) of the target type TypeBinding[] types = withWildCards.getNonWildcardParameterization(blockScope); if (types == null) return null; ReferenceBinding genericType = withWildCards.genericType(); return blockScope.environment().createParameterizedType(genericType, types, genericType.enclosingType()); }