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 String
getQualifiedName(ConcreteClassifier me)
Returns the qualified name of this concrete classifier.static EList<ClassifierReference>
getSuperTypeReferences(ConcreteClassifier me)
static boolean
isJavaLangObject(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)
Returnstrue
if the givenConcreteClassifier
isjava.lang.Object
. Attention: This method does not take theConcreteClassifier
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
ifclazz
representsjava.lang.Object
, otherwisefalse
-
-