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

public Interface ResolvedInterfaceDeclaration

extends ResolvedReferenceTypeDeclaration, ResolvedTypeParametrizable, HasAccessSpecifier, AssociableToAST<ClassOrInterfaceDeclaration>
Imports
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration, com.github.javaparser.resolution.types.ResolvedReferenceType, java.util.ArrayList, .List

An interface declaration.
Author
Federico Tomassetti

Method Summary

Modifier and TypeMethod and Description
public default List<ResolvedReferenceType>
getAllInterfacesExtended()

Return the list of interfaces extended directly or indirectly by this one.

public List<ResolvedReferenceType>
getInterfacesExtended()

Return the list of interfaces extended directly by this one.

public default boolean
isInterface()

Overrides default com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration.isInterface.

Is this the declaration of an interface?
Inherited from com.github.javaparser.resolution.declarations.AssociableToAST:
toAst
Inherited from com.github.javaparser.resolution.declarations.HasAccessSpecifier:
accessSpecifier
Inherited from com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration:
asReferenceTypecanBeAssignedTofindTypeParametergetAllAncestorsgetAllFieldsgetAllMethodsgetAllNonStaticFieldsgetAllStaticFieldsgetAncestorsgetAncestorsgetConstructorsgetDeclaredFieldsgetDeclaredMethodsgetFieldgetVisibleFieldgetVisibleFieldshasAnnotationhasDirectlyAnnotationhasFieldhasVisibleFieldisAssignableByisAssignableByisFunctionalInterface
Inherited from com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable:
findTypeParametergetTypeParametersisGeneric

Method Detail

getAllInterfacesExtendedback to summary
public default List<ResolvedReferenceType> getAllInterfacesExtended()

Return the list of interfaces extended directly or indirectly by this one.

getInterfacesExtendedback to summary
public List<ResolvedReferenceType> getInterfacesExtended()

Return the list of interfaces extended directly by this one.

isInterfaceback to summary
public default boolean isInterface()

Overrides default com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration.isInterface.

Doc from com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration.isInterface.

Is this the declaration of an interface?

Annotations
@Override