Uses of Class
net.sourceforge.pmd.lang.java.ast.ModifierOwner.Visibility
-
Packages that use ModifierOwner.Visibility Package Description net.sourceforge.pmd.lang.java.ast 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.Visibility Modifier and Type Method Description default ModifierOwner.Visibility
ModifierOwner. getEffectiveVisibility()
Returns the "effective" visibility of a member.ModifierOwner.Visibility
ASTAnonymousClassDeclaration. getVisibility()
ModifierOwner.Visibility
ASTFormalParameter. getVisibility()
ModifierOwner.Visibility
ASTLocalVariableDeclaration. getVisibility()
ModifierOwner.Visibility
ASTVariableId. getVisibility()
default ModifierOwner.Visibility
ModifierOwner. getVisibility()
Returns the visibility corresponding to theeffective modifiers
.static ModifierOwner.Visibility
ModifierOwner.Visibility. valueOf(String name)
Returns the enum constant of this type with the specified name.static ModifierOwner.Visibility[]
ModifierOwner.Visibility. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.sourceforge.pmd.lang.java.ast with parameters of type ModifierOwner.Visibility Modifier and Type Method Description default boolean
ModifierOwner. hasVisibility(ModifierOwner.Visibility visibility)
Returns true if this node has the given visibility either explicitly written or inferred through context.boolean
ModifierOwner.Visibility. isAtLeast(ModifierOwner.Visibility other)
Returns true if this visibility is greater than or equal to the parameter.boolean
ModifierOwner.Visibility. isAtMost(ModifierOwner.Visibility other)
Returns true if this visibility is lower than or equal to the parameter.
-