Top Description Methods
com.github.javaparser.resolution.declarations

public Interface ResolvedTypeParametrizable

Known Direct Subinterfaces
com.github.javaparser.resolution.declarations.ResolvedClassDeclaration, com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration, com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration, com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
Imports
java.util.List, .Optional

An entity which has type parameter.
Author
Federico Tomassetti

Method Summary

Modifier and TypeMethod and Description
public Optional<ResolvedTypeParameterDeclaration>
findTypeParameter(String name)

Find the closest TypeParameterDeclaration with the given name.

public List<ResolvedTypeParameterDeclaration>
getTypeParameters()

The list of type parameters defined on this element.

public default boolean

Method Detail

findTypeParameterback to summary
public Optional<ResolvedTypeParameterDeclaration> findTypeParameter(String name)

Find the closest TypeParameterDeclaration with the given name. It first look on this element itself and then on the containers.

getTypeParametersback to summary
public List<ResolvedTypeParameterDeclaration> getTypeParameters()

The list of type parameters defined on this element.

isGenericback to summary
public default boolean isGeneric()