Class Scope.Substitutor
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope.Substitutor
- Direct Known Subclasses:
InferenceSubstitution
- Enclosing class:
Scope
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsubstitute
(Substitution substitution, ReferenceBinding[] originalTypes) Returns an array of types, where original types got substituted given a substitution.substitute
(Substitution substitution, TypeBinding originalType) Returns a type, where original type was substituted using the receiver parameterized type.substitute
(Substitution substitution, TypeBinding[] originalTypes) Returns an array of types, where original types got substituted given a substitution.
-
Field Details
-
staticContext
-
-
Constructor Details
-
Substitutor
public Substitutor()
-
-
Method Details
-
substitute
Returns an array of types, where original types got substituted given a substitution. Only allocate an array if anything is different. -
substitute
Returns a type, where original type was substituted using the receiver parameterized type. In raw mode (seeSubstitution.isRawSubstitution()
), all parameterized types are converted to raw types. Cf. 4.8: "The type of a constructor (8.8), instance method (8.4, 9.4), or non-static field (8.3) M of a raw type C that is not inherited from its superclasses or superinterfaces is the raw type that corresponds to the erasure of its type in the generic declaration corresponding to C." -
substitute
Returns an array of types, where original types got substituted given a substitution. Only allocate an array if anything is different.
-