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