Interface ResolvedInterfaceDeclaration
- All Superinterfaces:
AssociableToAST, HasAccessSpecifier, ResolvedDeclaration, ResolvedReferenceTypeDeclaration, ResolvedTypeDeclaration, ResolvedTypeParametrizable
- All Known Implementing Classes:
JavaParserInterfaceDeclaration, JavassistInterfaceDeclaration, ReflectionInterfaceDeclaration
public interface ResolvedInterfaceDeclaration
extends ResolvedReferenceTypeDeclaration, ResolvedTypeParametrizable, HasAccessSpecifier
An interface declaration.
-
Field Summary
Fields inherited from interface ResolvedReferenceTypeDeclaration
breadthFirstFunc, depthFirstFunc, JAVA_IO_SERIALIZABLE, JAVA_LANG_COMPARABLE, JAVA_LANG_ENUM, JAVA_LANG_OBJECT, JAVA_LANG_RECORD -
Method Summary
Modifier and TypeMethodDescriptiondefault List<ResolvedReferenceType> Return the list of interfaces extended directly or indirectly by this one.Return the list of interfaces extended directly by this one.default booleanIs this the declaration of an interface?Methods inherited from interface AssociableToAST
toAst, toAstMethods inherited from interface HasAccessSpecifier
accessSpecifierMethods inherited from interface ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asTypePattern, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isTypePattern, isVariableMethods inherited from interface ResolvedReferenceTypeDeclaration
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getAncestors, getConstructors, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isFunctionalInterface, isInheritedAnnotation, isJavaLangEnum, isJavaLangObject, isJavaLangRecord, isReferenceTypeMethods inherited from interface ResolvedTypeDeclaration
asAnnotation, asClass, asEnum, asInterface, asRecord, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnnotation, isAnonymousClass, isClass, isEnum, isRecord, isType, isTypeParameterMethods inherited from interface ResolvedTypeParametrizable
getTypeParameters, isGeneric
-
Method Details
-
isInterface
default boolean isInterface()Description copied from interface:ResolvedTypeDeclarationIs this the declaration of an interface?- Specified by:
isInterfacein interfaceResolvedTypeDeclaration
-
getInterfacesExtended
List<ResolvedReferenceType> getInterfacesExtended()Return the list of interfaces extended directly by this one. -
getAllInterfacesExtended
Return the list of interfaces extended directly or indirectly by this one.
-