@NonNullByDefault public abstract class AbstractResolvedExecutable extends java.lang.Object implements IResolvedExecutable
JvmExecutable
.Modifier | Constructor and Description |
---|---|
protected |
AbstractResolvedExecutable(LightweightTypeReference contextType) |
Modifier and Type | Method and Description |
---|---|
LightweightTypeReference |
getContextType()
Returns the current context type.
|
protected abstract java.util.Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> |
getContextTypeParameterMapping() |
java.lang.String |
getResolvedErasureSignature()
Returns the resolved erased signature of this operation.
|
java.util.List<LightweightTypeReference> |
getResolvedExceptions()
Returns the resolved declared exceptions in the current context.
|
java.util.List<LightweightTypeReference> |
getResolvedParameterTypes()
Returns the resolved parameter types in the current context.
|
protected LightweightTypeReference |
getResolvedReference(JvmTypeReference unresolved) |
protected java.util.List<LightweightTypeReference> |
getResolvedReferences(java.util.List<JvmTypeReference> unresolved) |
java.lang.String |
getResolvedSignature()
Returns the resolved signature of this operation.
|
java.lang.String |
getSimpleSignature()
Returns the simple signature of this operation.
|
protected TypeParameterSubstitutor<?> |
getSubstitutor() |
java.util.List<JvmTypeParameter> |
getTypeParameters()
Returns the list of declared type parameters of the
executable . |
protected boolean |
isResolvedTypeParameter(JvmTypeParameter typeParameter)
Allows to refuse a certain type parameter to be substituted.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeclaration
protected AbstractResolvedExecutable(LightweightTypeReference contextType)
public LightweightTypeReference getContextType()
IResolvedExecutable
getContextType
in interface IResolvedExecutable
public java.util.List<JvmTypeParameter> getTypeParameters()
IResolvedExecutable
executable
.getTypeParameters
in interface IResolvedExecutable
public java.util.List<LightweightTypeReference> getResolvedParameterTypes()
IResolvedExecutable
getResolvedParameterTypes
in interface IResolvedExecutable
IResolvedExecutable.getContextType()
public java.lang.String getResolvedErasureSignature()
IResolvedExecutable
List<String>.addAll(int,java.util.Collection<E>)
is
addAll(int,Collection)
.getResolvedErasureSignature
in interface IResolvedExecutable
public java.lang.String getResolvedSignature()
IResolvedExecutable
List<String>.addAll(int, Collection<E>)
is
addAll(int,java.util.Collection<String>)
.getResolvedSignature
in interface IResolvedExecutable
public java.lang.String getSimpleSignature()
IResolvedExecutable
List<String>.addAll(int, Collection<E>)
is
addAll(int, Collection<String>)
.getSimpleSignature
in interface IResolvedExecutable
protected LightweightTypeReference getResolvedReference(@Nullable JvmTypeReference unresolved)
protected java.util.List<LightweightTypeReference> getResolvedReferences(java.util.List<JvmTypeReference> unresolved)
public java.util.List<LightweightTypeReference> getResolvedExceptions()
IResolvedExecutable
getResolvedExceptions
in interface IResolvedExecutable
IResolvedExecutable.getContextType()
protected abstract java.util.Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> getContextTypeParameterMapping()
protected boolean isResolvedTypeParameter(JvmTypeParameter typeParameter)
typeParameter
- the type parameter that should be substituted.false
if the parameter may be substituted. true
if it should be preserved.protected TypeParameterSubstitutor<?> getSubstitutor()
public java.lang.String toString()
toString
in class java.lang.Object