Class TypeParameterExtension
java.lang.Object
tools.mdsd.jamopp.model.java.extensions.generics.TypeParameterExtension
-
Method Summary
Modifier and TypeMethodDescriptiongetAllMembers
(TypeParameter typeParameter, 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>
getAllSuperClassifiers
(TypeParameter typeParameter) static Type
getBoundType
(TypeParameter typeParameter, EObject typeReference, Reference reference) Returns the type bound to the given parameter in the context of the given reference.
-
Method Details
-
getAllSuperClassifiers
- Returns:
- all type restrictions
-
getAllMembers
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
-
getBoundType
public static Type getBoundType(TypeParameter typeParameter, EObject typeReference, Reference reference) Returns the type bound to the given parameter in the context of the given reference.- Parameters:
typeReference
-reference
-- Returns:
- bound type or parameter if not bound
-