AccessNode, JavaNode, JavaQualifiableNode, net.sourceforge.pmd.lang.ast.Node, net.sourceforge.pmd.lang.ast.QualifiableNode, net.sourceforge.pmd.lang.symboltable.ScopedNode, TypeNodeAbstractAnyTypeDeclaration, ASTAnnotationTypeDeclaration, ASTClassOrInterfaceDeclaration, ASTEnumDeclarationpublic interface ASTAnyTypeDeclaration extends TypeNode, JavaQualifiableNode, AccessNode, JavaNode
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
ASTAnyTypeDeclaration.TypeKind |
The kind of type this node declares.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ASTAnyTypeBodyDeclaration> |
getDeclarations() |
Retrieves the member declarations (fields, methods, classes, etc.) from the body of this type declaration.
|
JavaTypeQualifiedName |
getQualifiedName() |
Returns a qualified name for this node.
|
ASTAnyTypeDeclaration.TypeKind |
getTypeKind() |
Finds the type kind of this declaration.
|
boolean |
isNested() |
Returns true if this type declaration is nested inside an interface, class or annotation.
|
getModifiers, isAbstract, isDefault, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setDefault, setFinal, setModifiers, setNative, setPrivate, setProtected, setPublic, setStatic, setStrictfp, setSynchronized, setTransient, setVolatilechildrenAccept, getScope, jjtAccept, setScopegetType, getTypeDefinition, setType, setTypeDefinitionASTAnyTypeDeclaration.TypeKind getTypeKind()
java.util.List<ASTAnyTypeBodyDeclaration> getDeclarations()
JavaTypeQualifiedName getQualifiedName()
JavaQualifiableNodegetQualifiedName in interface JavaQualifiableNodegetQualifiedName in interface net.sourceforge.pmd.lang.ast.QualifiableNodeboolean isNested()
Copyright © 2002–2018 PMD. All rights reserved.