public enum AnnotationType extends Enum<AnnotationType>
Enum Constant and Description |
---|
EMPTY |
FullVSRef |
JavaActionActor |
OnUIAction |
OnUIBack |
OnUIConnect |
OnUICreate |
OnUIDestroy |
OnUIFocus |
OnUISelection |
OnUITextChange |
OnUIValueChange |
OnVSAction |
OnVSChange |
OnVSCreate |
OnVSDestroy |
OnVSField |
OnVSFieldStatic |
OnVSFocus |
OnVSState |
PropName |
PropRef |
PropScope |
UI |
UIRef |
VS |
VSRef |
Modifier and Type | Field and Description |
---|---|
String |
fqn
The class name for the annotation.
|
boolean |
isScope
Flag indicating this is the scope annotation.
|
boolean |
isStatic
Static flag, used for methods and classes (not reference type annotations).
|
String |
params
Parameters names (signature) as e.g.
|
IAnnotationReferenceProcessor<?,?> |
processor
The reference processor interface, null if not a reference annotation type.
|
String |
refDescription
The description of the supported classes being referenced, null for none.
|
Class<?>[] |
refPropClasses
Array of supported property classes being referenced, null for none.
|
AnnotationType |
scope
The type used for annotation scoping, null for none.
|
String |
signature
Method signature as e.g.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationType |
fromEventAtom(Atom atom)
Gets the annotation type that matches an atom method event property name.
|
Atom |
getEventAtom()
Gets the atom for the event.
|
boolean |
isReferenceClassAllowed(Class<?> refClass)
Verifies if a class is allowed as the referenced property class.
|
static AnnotationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationType VS
public static final AnnotationType OnVSCreate
public static final AnnotationType OnVSDestroy
public static final AnnotationType OnVSAction
public static final AnnotationType OnVSField
public static final AnnotationType OnVSChange
public static final AnnotationType OnVSFocus
public static final AnnotationType OnVSState
public static final AnnotationType OnVSFieldStatic
public static final AnnotationType JavaActionActor
public static final AnnotationType UI
public static final AnnotationType OnUIConnect
public static final AnnotationType OnUICreate
public static final AnnotationType OnUIDestroy
public static final AnnotationType OnUIFocus
public static final AnnotationType OnUIAction
public static final AnnotationType OnUIBack
public static final AnnotationType OnUITextChange
public static final AnnotationType OnUIValueChange
public static final AnnotationType OnUISelection
public static final AnnotationType PropRef
public static final AnnotationType PropScope
public static final AnnotationType PropName
public static final AnnotationType FullVSRef
public static final AnnotationType VSRef
public static final AnnotationType UIRef
public static final AnnotationType EMPTY
public final String fqn
public final AnnotationType scope
public final boolean isScope
public final String refDescription
public final Class<?>[] refPropClasses
public final String signature
public final String params
public final boolean isStatic
public final IAnnotationReferenceProcessor<?,?> processor
public static AnnotationType[] values()
for (AnnotationType c : AnnotationType.values()) System.out.println(c);
public static AnnotationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Atom getEventAtom()
Atom.get('$'+name())
.public boolean isReferenceClassAllowed(Class<?> refClass)
refClass
- The class reference found.public static AnnotationType fromEventAtom(Atom atom)
atom
- The atom name should be in the form of "$OnNNN".iizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.