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 ASTClassTypeASTClassType.getQualifier()Gets the owner type of this type if it's not ambiguous.@Nullable ASTClassTypeASTSuperExpression.getQualifier()@Nullable ASTClassTypeASTThisExpression.getQualifier()@NonNull ASTClassTypeASTReceiverParameter.getReceiverType()Returns the type of the receiver parameter (egFooinFoo this.ASTModuleProvidesDirective.getService()Returns the node representing the provided interface.ASTModuleUsesDirective.getService()Returns the node representing the consumed service.@Nullable ASTClassTypeASTAnonymousClassDeclaration.getSuperClassTypeNode()default @Nullable ASTClassTypeASTTypeDeclaration.getSuperClassTypeNode()Returns the superclass type node if this node is a class declaration and explicitly declares anextendsclause.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 TypeMethodDescriptionASTCatchParameter.getAllExceptionTypes()Returns a stream of all declared exception types (expanding a union type if present).ASTIntersectionType.getComponents()Returns a stream of component types.ASTUnionType.getComponents()Returns a stream of component types.ASTClassDeclaration.getPermittedSubclasses()Deprecated.ASTModuleProvidesDirective.getServiceProviders()Returns the nodes representing the service providers, that is, the service implementations.@NonNull NodeStream<ASTClassType>ASTAnonymousClassDeclaration.getSuperInterfaceTypeNodes()default @NonNull 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 JTypeDeclSymbolInternalApiBridge.getReferencedSym(ASTClassType type) default RJavaVisitor.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()