Class ConcreteClassifierExtension

java.lang.Object
org.emftext.language.java.extensions.classifiers.ConcreteClassifierExtension

public class ConcreteClassifierExtension extends Object
  • Constructor Details

    • ConcreteClassifierExtension

      public ConcreteClassifierExtension()
  • Method Details

    • getAllInnerClassifiers

      public static EList<ConcreteClassifier> getAllInnerClassifiers(ConcreteClassifier me)
    • getInnerClassifiers

      public static EList<ConcreteClassifier> getInnerClassifiers(ConcreteClassifier me)
    • getSuperTypeReferences

      public static EList<ClassifierReference> getSuperTypeReferences(ConcreteClassifier me)
    • getAllMembers

      public static EList<Member> getAllMembers(ConcreteClassifier me, Commentable context)
      Returns all members of the given classifier including inner classes and all members of super types (extended classes and implemented interfaces).
      Parameters:
      me - the given classifier.
      context - to check protected visibility
      Returns:
      member list
    • getQualifiedName

      public static String getQualifiedName(ConcreteClassifier me)
      Returns the qualified name of this concrete classifier.
      Parameters:
      me - the classifier to return the qualified name for.
      Returns:
      the qualified name.
    • isJavaLangObject

      public static boolean isJavaLangObject(ConcreteClassifier clazz)
      Returns true if the given ConcreteClassifier is java.lang.Object. Attention: This method does not take the ConcreteClassifier on which the method is called (me ) as argument as this is not used in the methods implementation.
      Parameters:
      clazz - the class to check
      Returns:
      true if clazz represents java.lang.Object, otherwise false