|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope.Substitutor
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InferenceSubstitution
public class InferenceSubstitution
A type variable substitution strategy based on inference variables (JLS8 18.1.1)
| Constructor Summary | |
|---|---|
InferenceSubstitution(LookupEnvironment environment,
InferenceVariable[] variables)
|
|
| Method Summary | |
|---|---|
LookupEnvironment |
environment()
Returns the lookup environment |
protected TypeBinding |
getP(int i)
Get the type corresponding to the ith inference variable. |
boolean |
isRawSubstitution()
Returns true for raw substitution |
TypeBinding |
substitute(Substitution substitution,
TypeBinding originalType)
Override method Scope.Substitutor.substitute(Substitution, TypeBinding),
to add substitution of types other than type variables. |
TypeBinding |
substitute(TypeVariableBinding typeVariable)
Returns the type substitute for a given type variable, or itself if no substitution got performed. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope.Substitutor |
|---|
substitute, substitute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InferenceSubstitution(LookupEnvironment environment,
InferenceVariable[] variables)
| Method Detail |
|---|
public TypeBinding substitute(Substitution substitution,
TypeBinding originalType)
Scope.Substitutor.substitute(Substitution, TypeBinding),
to add substitution of types other than type variables.
substitute in class Scope.Substitutorprotected TypeBinding getP(int i)
public TypeBinding substitute(TypeVariableBinding typeVariable)
Substitution
substitute in interface Substitutionpublic LookupEnvironment environment()
Substitution
environment in interface Substitutionpublic boolean isRawSubstitution()
Substitution
isRawSubstitution in interface Substitution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||