|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.scrplugin.annotations.ScannedClass
public class ScannedClass
A scanned class contains all scanned information like the found annotations.
Constructor Summary | |
---|---|
ScannedClass(java.util.List<ScannedAnnotation> desc,
java.lang.Class<?> scannedClass)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScannedClass(java.util.List<ScannedAnnotation> desc, java.lang.Class<?> scannedClass)
desc
- List of found annotations.scannedClass
- The scanned class.Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |