CodeQL library for Java
codeql/java-all 0.7.5 ( changelog , source )
Search

Member predicate ClassOrInterface :: getSourceDeclaration

Gets the source declaration of this type.

For parameterized instances of generic types and raw types, the source declaration is the corresponding generic type.

For non-parameterized types declared inside a parameterized instance of a generic type, the source declaration is the corresponding type in the generic type.

For all other types, the source declaration is the type itself.

RefType getSourceDeclaration ( )