Interface ResolvedInterfaceDeclaration
-
- All Superinterfaces:
AssociableToAST<ClassOrInterfaceDeclaration>
,HasAccessSpecifier
,ResolvedDeclaration
,ResolvedReferenceTypeDeclaration
,ResolvedTypeDeclaration
,ResolvedTypeParametrizable
public interface ResolvedInterfaceDeclaration extends ResolvedReferenceTypeDeclaration, ResolvedTypeParametrizable, HasAccessSpecifier, AssociableToAST<ClassOrInterfaceDeclaration>
An interface declaration.- Author:
- Federico Tomassetti
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<ResolvedReferenceType>
getAllInterfacesExtended()
Return the list of interfaces extended directly or indirectly by this one.List<ResolvedReferenceType>
getInterfacesExtended()
Return the list of interfaces extended directly by this one.default boolean
isInterface()
Is this the declaration of an interface?-
Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst
-
Methods inherited from interface com.github.javaparser.resolution.declarations.HasAccessSpecifier
accessSpecifier
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isVariable
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getAncestors, getConstructors, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isFunctionalInterface
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
asClass, asEnum, asInterface, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnonymousClass, isClass, isEnum, isType, isTypeParameter
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
getTypeParameters, isGeneric
-
-
-
-
Method Detail
-
isInterface
default boolean isInterface()
Description copied from interface:ResolvedTypeDeclaration
Is this the declaration of an interface?- Specified by:
isInterface
in interfaceResolvedTypeDeclaration
-
getInterfacesExtended
List<ResolvedReferenceType> getInterfacesExtended()
Return the list of interfaces extended directly by this one.
-
getAllInterfacesExtended
default List<ResolvedReferenceType> getAllInterfacesExtended()
Return the list of interfaces extended directly or indirectly by this one.
-
-