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
KonstruktorBeschreibungInferenceSubstitution
(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 TypeBinding
getP
(int i) Get the type corresponding to the ith inference variable.boolean
Returns true for raw substitutionprotected boolean
isSameParameter
(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:
substitute
in 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:Substitution
Returns the type substitute for a given type variable, or itself if no substitution got performed.- Angegeben von:
substitute
in SchnittstelleSubstitution
-
environment
Beschreibung aus Schnittstelle kopiert:Substitution
Returns the lookup environment- Angegeben von:
environment
in SchnittstelleSubstitution
-
isRawSubstitution
public boolean isRawSubstitution()Beschreibung aus Schnittstelle kopiert:Substitution
Returns true for raw substitution- Angegeben von:
isRawSubstitution
in SchnittstelleSubstitution
-