Interface ResolvedTypeParametrizable
- All Known Subinterfaces:
ResolvedAnnotationDeclaration
,ResolvedClassDeclaration
,ResolvedConstructorDeclaration
,ResolvedEnumDeclaration
,ResolvedInterfaceDeclaration
,ResolvedMethodDeclaration
,ResolvedMethodLikeDeclaration
,ResolvedReferenceTypeDeclaration
- All Known Implementing Classes:
AbstractClassDeclaration
,AbstractTypeDeclaration
,DefaultConstructorDeclaration
,JavaParserAnnotationDeclaration
,JavaParserAnonymousClassDeclaration
,JavaParserClassDeclaration
,JavaParserConstructorDeclaration
,JavaParserEnumDeclaration
,JavaParserEnumDeclaration.ValueOfMethod
,JavaParserEnumDeclaration.ValuesMethod
,JavaParserInterfaceDeclaration
,JavaParserMethodDeclaration
,JavaParserTypeParameter
,JavaParserTypeVariableDeclaration
,JavassistAnnotationDeclaration
,JavassistClassDeclaration
,JavassistConstructorDeclaration
,JavassistEnumDeclaration
,JavassistInterfaceDeclaration
,JavassistMethodDeclaration
,ReflectionAnnotationDeclaration
,ReflectionClassDeclaration
,ReflectionConstructorDeclaration
,ReflectionEnumDeclaration
,ReflectionInterfaceDeclaration
,ReflectionMethodDeclaration
public interface ResolvedTypeParametrizable
An entity which has type parameter.
-
Method Summary
Modifier and TypeMethodDescriptionfindTypeParameter
(String name) Find the closest TypeParameterDeclaration with the given name.The list of type parameters defined on this element.default boolean
-
Method Details
-
getTypeParameters
List<ResolvedTypeParameterDeclaration> getTypeParameters()The list of type parameters defined on this element. -
findTypeParameter
Find the closest TypeParameterDeclaration with the given name. It first look on this element itself and then on the containers. -
isGeneric
default boolean isGeneric()
-