Klasse InferenceSubstitution
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope.Substitutor
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InferenceSubstitution
- Alle implementierten Schnittstellen:
Substitution
A type variable substitution strategy based on inference variables (JLS8 18.1.1)
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Substitution
Substitution.NullSubstitution -
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope.Substitutor
staticContext -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungInferenceSubstitution(InferenceContext18 context) InferenceSubstitution(LookupEnvironment environment, InferenceVariable[] variables, InvocationSite site) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaddContext(InferenceContext18 otherContext) Answer a substitution that is able to substitute into inference variables of several inference contexts (outer Ungültige Eingabe: "&" inner)Returns the lookup environmentprotected TypeBindinggetP(int i) Get the type corresponding to the ith inference variable.booleanReturns true for raw substitutionprotected booleanisSameParameter(TypeBinding p1, TypeBinding originalType) substitute(Substitution substitution, TypeBinding originalType) Override methodScope.Substitutor.substitute(Substitution, TypeBinding), to add substitution of types other than type variables.substitute(TypeVariableBinding typeVariable) Returns the type substitute for a given type variable, or itself if no substitution got performed.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope.Substitutor
substitute, substitute
-
Konstruktordetails
-
InferenceSubstitution
public InferenceSubstitution(LookupEnvironment environment, InferenceVariable[] variables, InvocationSite site) -
InferenceSubstitution
-
-
Methodendetails
-
addContext
Answer a substitution that is able to substitute into inference variables of several inference contexts (outer Ungültige Eingabe: "&" inner) -
substitute
Override methodScope.Substitutor.substitute(Substitution, TypeBinding), to add substitution of types other than type variables.- Setzt außer Kraft:
substitutein KlasseScope.Substitutor
-
isSameParameter
-
getP
Get the type corresponding to the ith inference variable. Default behavior is to answer the inference variable's type parameter. Sub-class may override to substitute other types. -
substitute
Beschreibung aus Schnittstelle kopiert:SubstitutionReturns the type substitute for a given type variable, or itself if no substitution got performed.- Angegeben von:
substitutein SchnittstelleSubstitution
-
environment
Beschreibung aus Schnittstelle kopiert:SubstitutionReturns the lookup environment- Angegeben von:
environmentin SchnittstelleSubstitution
-
isRawSubstitution
public boolean isRawSubstitution()Beschreibung aus Schnittstelle kopiert:SubstitutionReturns true for raw substitution- Angegeben von:
isRawSubstitutionin SchnittstelleSubstitution
-