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 protectedAbstractResolvedExecutable(T declaration, LightweightTypeReference contextType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetResolvedErasureSignature()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.StringgetResolvedSignature()Returns the resolved signature of this feature.java.lang.StringgetSimpleSignature()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.StringtoString()-
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:IResolvedExecutableReturns the list of declared type parameters of theexecutable.- Specified by:
getTypeParametersin interfaceIResolvedExecutable- Returns:
- the list of declared type parameters.
-
getResolvedParameterTypes
public java.util.List<LightweightTypeReference> getResolvedParameterTypes()
Description copied from interface:IResolvedExecutableReturns 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:
getResolvedParameterTypesin interfaceIResolvedExecutable- Returns:
- the list of parameter types.
- See Also:
IResolvedFeature.getContextType()
-
getResolvedErasureSignature
public java.lang.String getResolvedErasureSignature()
Description copied from interface:IResolvedFeatureReturns the resolved erased signature of this feature. The resolved representation ofList<String>.addAll(int,java.util.Collection<E>)isaddAll(int,Collection).- Specified by:
getResolvedErasureSignaturein interfaceIResolvedFeature- Returns:
- the erased signature.
-
getResolvedSignature
public java.lang.String getResolvedSignature()
Description copied from interface:IResolvedFeatureReturns the resolved signature of this feature. The resolved representation ofList<String>.addAll(int, Collection<E>)isaddAll(int,java.util.Collection<String>).- Specified by:
getResolvedSignaturein interfaceIResolvedFeature- Returns:
- the resolved signature.
-
getSimpleSignature
public java.lang.String getSimpleSignature()
Description copied from interface:IResolvedFeatureReturns the simple signature of this feature. The simple signature ofList<String>.addAll(int, Collection<E>)isaddAll(int, Collection<String>).- Specified by:
getSimpleSignaturein interfaceIResolvedFeature- Returns:
- the simple, human readable signature.
-
getResolvedExceptions
public java.util.List<LightweightTypeReference> getResolvedExceptions()
Description copied from interface:IResolvedExecutableReturns 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:
getResolvedExceptionsin interfaceIResolvedExecutable- Returns:
- the declared exceptions.
- See Also:
IResolvedFeature.getContextType()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-