Class Substitution.NullSubstitution
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Substitution.NullSubstitution
- All Implemented Interfaces:
Substitution
- Enclosing interface:
Substitution
Don't substitute any type variables.
Enables the use of
Scope.Substitutor
for other purposes.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Substitution
Substitution.NullSubstitution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the lookup environmentboolean
Returns true for raw substitutionsubstitute
(TypeVariableBinding typeVariable) Returns the type substitute for a given type variable, or itself if no substitution got performed.
-
Constructor Details
-
NullSubstitution
-
-
Method Details
-
substitute
Description copied from interface:Substitution
Returns the type substitute for a given type variable, or itself if no substitution got performed.- Specified by:
substitute
in interfaceSubstitution
-
isRawSubstitution
public boolean isRawSubstitution()Description copied from interface:Substitution
Returns true for raw substitution- Specified by:
isRawSubstitution
in interfaceSubstitution
-
environment
Description copied from interface:Substitution
Returns the lookup environment- Specified by:
environment
in interfaceSubstitution
-