Class AbstractResolvedExecutable<T extends org.eclipse.xtext.common.types.JvmExecutable>
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedFeature<T>
-
- org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedExecutable<T>
-
- All Implemented Interfaces:
IResolvedExecutable
,IResolvedFeature
- Direct Known Subclasses:
AbstractResolvedOperation
,ResolvedConstructor
public abstract class AbstractResolvedExecutable<T extends org.eclipse.xtext.common.types.JvmExecutable> extends AbstractResolvedFeature<T> implements IResolvedExecutable
Base class for resolved representation of aJvmExecutable
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractResolvedExecutable(T declaration, LightweightTypeReference contextType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getResolvedErasureSignature()
Returns the resolved erased signature of this feature.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.java.lang.String
getResolvedSignature()
Returns the resolved signature of this feature.java.lang.String
getSimpleSignature()
Returns the simple signature of this feature.java.util.List<org.eclipse.xtext.common.types.JvmTypeParameter>
getTypeParameters()
Returns the list of declared type parameters of theexecutable
.java.lang.String
toString()
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedFeature
computeContextTypeParameterMapping, getContextType, getContextTypeParameterMapping, getDeclaration, getResolvedDeclarator, getResolvedReference, getResolvedReferences, getSubstitutor, isRawTypeInheritance, isResolvedTypeParameter, isResolvedTypeParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.override.IResolvedExecutable
getDeclaration
-
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.override.IResolvedFeature
getContextType, getResolvedDeclarator
-
-
-
-
Constructor Detail
-
AbstractResolvedExecutable
protected AbstractResolvedExecutable(T declaration, LightweightTypeReference contextType)
-
-
Method Detail
-
getTypeParameters
public java.util.List<org.eclipse.xtext.common.types.JvmTypeParameter> getTypeParameters()
Description copied from interface:IResolvedExecutable
Returns the list of declared type parameters of theexecutable
.- Specified by:
getTypeParameters
in interfaceIResolvedExecutable
- Returns:
- the list of declared type parameters.
-
getResolvedParameterTypes
public java.util.List<LightweightTypeReference> getResolvedParameterTypes()
Description copied from interface:IResolvedExecutable
Returns the resolved parameter types in the current context. That is, all free type variables are bound according to the bottom of this method hierarchy.- Specified by:
getResolvedParameterTypes
in interfaceIResolvedExecutable
- Returns:
- the list of parameter types.
- See Also:
IResolvedFeature.getContextType()
-
getResolvedErasureSignature
public java.lang.String getResolvedErasureSignature()
Description copied from interface:IResolvedFeature
Returns the resolved erased signature of this feature. The resolved representation ofList<String>.addAll(int,java.util.Collection<E>)
isaddAll(int,Collection)
.- Specified by:
getResolvedErasureSignature
in interfaceIResolvedFeature
- Returns:
- the erased signature.
-
getResolvedSignature
public java.lang.String getResolvedSignature()
Description copied from interface:IResolvedFeature
Returns the resolved signature of this feature. The resolved representation ofList<String>.addAll(int, Collection<E>)
isaddAll(int,java.util.Collection<String>)
.- Specified by:
getResolvedSignature
in interfaceIResolvedFeature
- Returns:
- the resolved signature.
-
getSimpleSignature
public java.lang.String getSimpleSignature()
Description copied from interface:IResolvedFeature
Returns the simple signature of this feature. The simple signature ofList<String>.addAll(int, Collection<E>)
isaddAll(int, Collection<String>)
.- Specified by:
getSimpleSignature
in interfaceIResolvedFeature
- Returns:
- the simple, human readable signature.
-
getResolvedExceptions
public java.util.List<LightweightTypeReference> getResolvedExceptions()
Description copied from interface:IResolvedExecutable
Returns the resolved declared exceptions in the current context. That is, all free type variables are bound according to the bottom of this method hierarchy.- Specified by:
getResolvedExceptions
in interfaceIResolvedExecutable
- Returns:
- the declared exceptions.
- See Also:
IResolvedFeature.getContextType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-