public class AnnotationDetector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ClassFile |
classFile |
protected AnnotationScanner |
scanner |
| Constructor and Description |
|---|
AnnotationDetector(AnnotationScanner scanner) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
containsAnnotation(InputStream is,
long size) |
boolean |
containsAnnotation(ReadableArchive archive,
String entryName) |
boolean |
hasAnnotationInArchive(ReadableArchive archive) |
boolean |
hasAnnotationInArchiveWithNoScanning(ReadableArchive archive) |
protected final ClassFile classFile
protected final AnnotationScanner scanner
public AnnotationDetector(AnnotationScanner scanner)
public boolean hasAnnotationInArchiveWithNoScanning(ReadableArchive archive) throws IOException
IOExceptionpublic boolean hasAnnotationInArchive(ReadableArchive archive) throws IOException
IOExceptionpublic boolean containsAnnotation(ReadableArchive archive, String entryName) throws IOException
IOExceptionprotected boolean containsAnnotation(InputStream is, long size) throws IOException
IOExceptionCopyright © 2017. All rights reserved.