public class ScannedClass
extends java.lang.Object
Constructor and Description |
---|
ScannedClass(java.util.List<ScannedAnnotation> desc,
java.lang.Class<?> scannedClass)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ClassAnnotation> |
getClassAnnotations(java.lang.String name)
Get all class annotations
|
java.util.List<FieldAnnotation> |
getFieldAnnotations(java.lang.String name)
Get all field annotations
|
java.util.List<MethodAnnotation> |
getMethodAnnotations(java.lang.String name)
Get all method annotations
|
java.lang.Class<?> |
getScannedClass()
Get the scanned class.
|
void |
processed(java.util.Collection<? extends ScannedAnnotation> desc)
Mark several annotations as processed.
|
void |
processed(ScannedAnnotation desc)
Mark an annotation as processed.
|
public ScannedClass(java.util.List<ScannedAnnotation> desc, java.lang.Class<?> scannedClass)
desc
- List of found annotations.scannedClass
- The scanned class.public java.lang.Class<?> getScannedClass()
public void processed(ScannedAnnotation desc)
desc
- The annotation.public void processed(java.util.Collection<? extends ScannedAnnotation> desc)
desc
- The annotation.public java.util.List<ClassAnnotation> getClassAnnotations(java.lang.String name)
name
- The name of the class annotation or null
for all class annotations.public java.util.List<FieldAnnotation> getFieldAnnotations(java.lang.String name)
name
- The name of the field annotation or null
for all field annotations.public java.util.List<MethodAnnotation> getMethodAnnotations(java.lang.String name)
name
- The name of the method annotation or null
for all method annotations.Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.