Uses of Enum Class
net.sourceforge.pmd.lang.java.ast.ModifierOwner.Visibility
Packages that use ModifierOwner.Visibility
Package
Description
Contains the classes and interfaces modelling the Java AST.
-
Uses of ModifierOwner.Visibility in net.sourceforge.pmd.lang.java.ast
Methods in net.sourceforge.pmd.lang.java.ast that return ModifierOwner.VisibilityModifier and TypeMethodDescriptiondefault ModifierOwner.VisibilityModifierOwner.getEffectiveVisibility()Returns the "effective" visibility of a member.ASTAnonymousClassDeclaration.getVisibility()ASTFormalParameter.getVisibility()ASTLocalVariableDeclaration.getVisibility()ASTVariableId.getVisibility()default ModifierOwner.VisibilityModifierOwner.getVisibility()Returns the visibility corresponding to theeffective modifiers.static ModifierOwner.VisibilityReturns the enum constant of this class with the specified name.static ModifierOwner.Visibility[]ModifierOwner.Visibility.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.sourceforge.pmd.lang.java.ast with parameters of type ModifierOwner.VisibilityModifier and TypeMethodDescriptiondefault booleanModifierOwner.hasVisibility(ModifierOwner.Visibility visibility) Returns true if this node has the given visibility either explicitly written or inferred through context.booleanModifierOwner.Visibility.isAtLeast(ModifierOwner.Visibility other) Returns true if this visibility is greater than or equal to the parameter.booleanModifierOwner.Visibility.isAtMost(ModifierOwner.Visibility other) Returns true if this visibility is lower than or equal to the parameter.