Uses of Class
net.sourceforge.pmd.lang.java.ast.ASTClassType
Packages that use ASTClassType
Package
Description
Contains the classes and interfaces modelling the Java AST.
-
Uses of ASTClassType in net.sourceforge.pmd.lang.java.ast
Methods in net.sourceforge.pmd.lang.java.ast that return ASTClassTypeModifier and TypeMethodDescription@Nullable ASTClassType
ASTClassType.getQualifier()
Gets the owner type of this type if it's not ambiguous.@Nullable ASTClassType
ASTSuperExpression.getQualifier()
@Nullable ASTClassType
ASTThisExpression.getQualifier()
@NonNull ASTClassType
ASTReceiverParameter.getReceiverType()
Returns the type of the receiver parameter (egFoo
inFoo this
.ASTModuleProvidesDirective.getService()
Returns the node representing the provided interface.ASTModuleUsesDirective.getService()
Returns the node representing the consumed service.@Nullable ASTClassType
ASTAnonymousClassDeclaration.getSuperClassTypeNode()
default @Nullable ASTClassType
ASTTypeDeclaration.getSuperClassTypeNode()
Returns the superclass type node if this node is a class declaration and explicitly declares anextends
clause.ASTAnnotation.getTypeNode()
Returns the node that represents the name of the annotation.ASTConstructorCall.getTypeNode()
Returns the type node.Methods in net.sourceforge.pmd.lang.java.ast that return types with arguments of type ASTClassTypeModifier and TypeMethodDescriptionnet.sourceforge.pmd.lang.ast.NodeStream
<ASTClassType> ASTCatchParameter.getAllExceptionTypes()
Returns a stream of all declared exception types (expanding a union type if present).net.sourceforge.pmd.lang.ast.NodeStream
<ASTClassType> ASTIntersectionType.getComponents()
Returns a stream of component types.net.sourceforge.pmd.lang.ast.NodeStream
<ASTClassType> ASTUnionType.getComponents()
Returns a stream of component types.ASTClassDeclaration.getPermittedSubclasses()
Deprecated.net.sourceforge.pmd.lang.ast.NodeStream
<ASTClassType> ASTModuleProvidesDirective.getServiceProviders()
Returns the nodes representing the service providers, that is, the service implementations.@NonNull net.sourceforge.pmd.lang.ast.NodeStream
<ASTClassType> ASTAnonymousClassDeclaration.getSuperInterfaceTypeNodes()
default @NonNull net.sourceforge.pmd.lang.ast.NodeStream
<ASTClassType> ASTTypeDeclaration.getSuperInterfaceTypeNodes()
Returns the list of interfaces implemented by this class, or extended by this interface.ASTUnionType.iterator()
Methods in net.sourceforge.pmd.lang.java.ast with parameters of type ASTClassTypeModifier and TypeMethodDescriptionstatic JTypeDeclSymbol
InternalApiBridge.getReferencedSym
(ASTClassType type) default R
JavaVisitor.visit
(ASTClassType node, P data) JavaVisitorBase.visit
(ASTClassType node, P data) -
Uses of ASTClassType in net.sourceforge.pmd.lang.java.rule.bestpractices
Methods in net.sourceforge.pmd.lang.java.rule.bestpractices with parameters of type ASTClassType -
Uses of ASTClassType in net.sourceforge.pmd.lang.java.rule.codestyle
Methods in net.sourceforge.pmd.lang.java.rule.codestyle with parameters of type ASTClassTypeModifier and TypeMethodDescriptionUnnecessaryFullyQualifiedNameRule.visit
(ASTClassType deepest, Object data) UnnecessaryImportRule.visit
(ASTClassType node, Object data)
ASTTypeDeclaration.getPermitsClause()
orJClassSymbol.getPermittedSubtypes()