Class ReferenceExtension
- java.lang.Object
-
- org.emftext.language.java.extensions.references.ReferenceExtension
-
public class ReferenceExtension extends Object
-
-
Constructor Summary
Constructors Constructor Description ReferenceExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Reference
getPrevious(Reference me)
static Type
getReferencedType(Reference me)
Determines theType
of the reference.static TypeReference
getReferencedTypeReference(Reference me)
-
-
-
Method Detail
-
getReferencedType
public static Type getReferencedType(Reference me)
Determines theType
of the reference. That is, either the type to which the reference points directly, or the type of the element to which the reference points.- Parameters:
me
- the given reference.- Returns:
- the determined type
-
getReferencedTypeReference
public static TypeReference getReferencedTypeReference(Reference me)
-
-