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