Class ReferenceExtension

java.lang.Object
org.emftext.language.java.extensions.references.ReferenceExtension

public class ReferenceExtension extends Object
  • Constructor Details

    • ReferenceExtension

      public ReferenceExtension()
  • Method Details

    • getPrevious

      public static Reference getPrevious(Reference me)
    • getReferencedType

      public static Type getReferencedType(Reference me)
      Determines the Type 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)