org.glassfish.deployment.common
Class GenericAnnotationDetector
java.lang.Object
org.glassfish.deployment.common.AnnotationScanner
org.glassfish.deployment.common.GenericAnnotationDetector
- All Implemented Interfaces:
- org.objectweb.asm.ClassVisitor
public class GenericAnnotationDetector
- extends AnnotationScanner
This class will detect whether an archive contains specified annotations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericAnnotationDetector
public GenericAnnotationDetector(Class[] annotationClasses)
hasAnnotationInArchive
public boolean hasAnnotationInArchive(ReadableArchive archive)
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(String s,
boolean b)
- Specified by:
visitAnnotation in interface org.objectweb.asm.ClassVisitor- Overrides:
visitAnnotation in class AnnotationScanner
scanArchive
public void scanArchive(ReadableArchive archive)
- Overrides:
scanArchive in class AnnotationScanner
Copyright © 2012. All Rights Reserved.