Class ConcreteClassifierExtension
- java.lang.Object
-
- org.emftext.language.java.extensions.classifiers.ConcreteClassifierExtension
-
public class ConcreteClassifierExtension extends Object
-
-
Constructor Summary
Constructors Constructor Description ConcreteClassifierExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EList<ConcreteClassifier>getAllInnerClassifiers(ConcreteClassifier me)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).static EList<ConcreteClassifier>getInnerClassifiers(ConcreteClassifier me)static StringgetQualifiedName(ConcreteClassifier me)Returns the qualified name of this concrete classifier.static EList<ClassifierReference>getSuperTypeReferences(ConcreteClassifier me)static booleanisJavaLangObject(ConcreteClassifier clazz)
-
-
-
Method Detail
-
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:
context- to check protected visibility- Returns:
- member list
-
getQualifiedName
public static String getQualifiedName(ConcreteClassifier me)
Returns the qualified name of this concrete classifier.
-
isJavaLangObject
public static boolean isJavaLangObject(ConcreteClassifier clazz)
Returnstrueif the givenConcreteClassifierisjava.lang.Object. Attention: This method does not take theConcreteClassifieron which the method is called (me) as argument as this is not used in the methods implementation.- Parameters:
clazz- the class to check- Returns:
trueifclazzrepresentsjava.lang.Object, otherwisefalse
-
-