org.eclipse.jdt.internal.compiler.lookup
Class InferenceContext
java.lang.Object
org.eclipse.jdt.internal.compiler.lookup.InferenceContext
public class InferenceContext
- extends Object
Context used during type inference for a generic method invocation
isUnchecked
public boolean isUnchecked
InferenceContext
public InferenceContext(MethodBinding genericMethod)
getSubstitutes
public TypeBinding[] getSubstitutes(TypeVariableBinding typeVariable,
int constraint)
hasUnresolvedTypeArgument
public boolean hasUnresolvedTypeArgument()
- Returns true if any unresolved variable is detected, i.e. any variable is substituted with itself
recordSubstitute
public void recordSubstitute(TypeVariableBinding typeVariable,
TypeBinding actualType,
int constraint)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.