Class ResolvedField
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedFeature<org.eclipse.xtext.common.types.JvmField>
-
- org.eclipse.xtext.xbase.typesystem.override.ResolvedField
-
- All Implemented Interfaces:
IResolvedFeature
,IResolvedField
public class ResolvedField extends AbstractResolvedFeature<org.eclipse.xtext.common.types.JvmField> implements IResolvedField
-
-
Constructor Summary
Constructors Constructor Description ResolvedField(org.eclipse.xtext.common.types.JvmField field, 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.lang.String
getResolvedSignature()
Returns the resolved signature of this feature.LightweightTypeReference
getResolvedType()
Returns the resolved type in the current context.java.lang.String
getSimpleSignature()
Returns the simple signature of this feature.-
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, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.override.IResolvedFeature
getContextType, getResolvedDeclarator
-
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.override.IResolvedField
getDeclaration
-
-
-
-
Constructor Detail
-
ResolvedField
public ResolvedField(org.eclipse.xtext.common.types.JvmField field, LightweightTypeReference contextType)
-
-
Method Detail
-
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.
-
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.
-
getResolvedType
public LightweightTypeReference getResolvedType()
Description copied from interface:IResolvedField
Returns the resolved type in the current context. That is, all free type variables are bound according to the bottom of this hierarchy.- Specified by:
getResolvedType
in interfaceIResolvedField
- Returns:
- the return type.
- See Also:
IResolvedFeature.getContextType()
-
-