public class VisibilityUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getVisibility(AnnotationNode anno,
AnnotatedNode node,
java.lang.Class<? extends AnnotatedNode> clazz,
int originalModifiers)
Determine the correct modifiers by looking for a potential @VisibilityOptions annotation.
|
public static int getVisibility(AnnotationNode anno, AnnotatedNode node, java.lang.Class<? extends AnnotatedNode> clazz, int originalModifiers)
anno - The annotation being processed (if any) which may support a 'visibilityId' attributenode - The node being processed which may also be annotated with @VisibilityOptionsclazz - The type of node being constructedoriginalModifiers - The modifier value to adjust or return if no applicable @VisibilityOptions is found