|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.asm.ClassAdapter
net.sf.daileon.notsupported.DomainAnnotationVerifier
class DomainAnnotationVerifier
The DomainAnnotationVerifier
class is responsible for verifying
if an annotation is a domain annotation, that is, if it is annotated with the
DomainAnnotation
annotation.
Field Summary | |
---|---|
private static String |
DOMAIN_ANNOTATION_NAME
The fully-qualified name of the @DomainAnnotatino annotation |
private boolean |
isDomainAnnotation
Informs whether the annotation is a domain annotation |
Fields inherited from class org.objectweb.asm.ClassAdapter |
---|
cv |
Constructor Summary | |
---|---|
DomainAnnotationVerifier(org.objectweb.asm.ClassVisitor classVisitor)
Class constructor. |
Method Summary | |
---|---|
(package private) boolean |
isDomainAnnotation()
Informs whether the annotation is a domain annotation. |
void |
visitAttribute(org.objectweb.asm.Attribute attribute)
Analyzes the annotations of a given annotation. |
Methods inherited from class org.objectweb.asm.ClassAdapter |
---|
visit, visitEnd, visitField, visitInnerClass, visitMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String DOMAIN_ANNOTATION_NAME
@DomainAnnotatino
annotation
private boolean isDomainAnnotation
Constructor Detail |
---|
DomainAnnotationVerifier(org.objectweb.asm.ClassVisitor classVisitor)
classVisitor
- The ClassVisitor object that visits the class.Method Detail |
---|
public void visitAttribute(org.objectweb.asm.Attribute attribute)
@DomainAnnotation
is found, then the
isDomainAnnotation
variable is set to true
.
visitAttribute
in interface org.objectweb.asm.ClassVisitor
visitAttribute
in class org.objectweb.asm.ClassAdapter
attribute
- The Attribute object, which may contain one or several
annotations.boolean isDomainAnnotation()
boolean
value that can be:
true
if the annotation is a domain annotation;false
if the annotation is not a domain
annotation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |