|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.annotation.factory.AnnotationCreator
public class AnnotationCreator
Comment
Field Summary | |
---|---|
Object |
typeValue
|
Constructor Summary | |
---|---|
AnnotationCreator(Class<?> annotation,
Class<?> type)
|
|
AnnotationCreator(Class<?> annotation,
Class<?> type,
ClassLoader loader)
|
Method Summary | |
---|---|
static Object |
createAnnotation(ASTAnnotation node,
Class<?> annotation)
Create annotation. |
static Object |
createAnnotation(ASTAnnotation node,
Class<?> annotation,
ClassLoader cl)
|
static Object |
createAnnotation(String annotationExpr,
Class<?> annotation)
Create annotation. |
static Object |
createAnnotation(String annotationExpr,
Class<?> annotation,
boolean replace)
Create annotation. |
static Object |
createAnnotation(String annotationExpr,
Class<?> annotation,
Properties properties)
Create annotation. |
static Object |
createAnnotation(String annotationExpr,
ClassLoader cl)
Create annotation. |
static Object |
createAnnotation(String annotationExpr,
ClassLoader cl,
boolean replace)
Create annotation. |
static Object |
createAnnotation(String annotationExpr,
ClassLoader cl,
Properties properties)
Create annotation. |
Object |
visit(ASTAnnotation node,
Object data)
|
Object |
visit(ASTChar node,
Object data)
|
Object |
visit(ASTIdentifier node,
Object data)
|
Object |
visit(ASTMemberValueArrayInitializer node,
Object data)
|
Object |
visit(ASTMemberValuePair node,
Object data)
|
Object |
visit(ASTMemberValuePairs node,
Object data)
|
Object |
visit(ASTSingleMemberValue node,
Object data)
|
Object |
visit(ASTStart node,
Object data)
|
Object |
visit(ASTString node,
Object data)
|
Object |
visit(SimpleNode node,
Object data)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Object typeValue
Constructor Detail |
---|
public AnnotationCreator(Class<?> annotation, Class<?> type, ClassLoader loader)
public AnnotationCreator(Class<?> annotation, Class<?> type)
Method Detail |
---|
public Object visit(ASTMemberValuePairs node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(ASTMemberValuePair node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(ASTSingleMemberValue node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(ASTIdentifier node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(ASTString node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(ASTChar node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(ASTMemberValueArrayInitializer node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(ASTAnnotation node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(SimpleNode node, Object data)
visit
in interface AnnotationParserVisitor
public Object visit(ASTStart node, Object data)
visit
in interface AnnotationParserVisitor
public static Object createAnnotation(ASTAnnotation node, Class<?> annotation, ClassLoader cl) throws Exception
Exception
public static Object createAnnotation(ASTAnnotation node, Class<?> annotation) throws Exception
node
- the ast annotation nodeannotation
- the annotation class
Exception
- for any errorpublic static Object createAnnotation(String annotationExpr, Class<?> annotation) throws Exception
annotationExpr
- the annotation expressionannotation
- the annotation class
Exception
- for any errorpublic static Object createAnnotation(String annotationExpr, ClassLoader cl) throws Exception
annotationExpr
- the annotation expressioncl
- the classloader to use
Exception
- for any errorpublic static Object createAnnotation(String annotationExpr, Class<?> annotation, boolean replace) throws Exception
annotationExpr
- the annotation expressionannotation
- the annotation classreplace
- should we replace possible properties in expression
Exception
- for any errorpublic static Object createAnnotation(String annotationExpr, ClassLoader cl, boolean replace) throws Exception
annotationExpr
- the annotation expressioncl
- the classloader to usereplace
- should we replace possible properties in expression
Exception
- for any errorpublic static Object createAnnotation(String annotationExpr, Class<?> annotation, Properties properties) throws Exception
annotationExpr
- the annotation expressionannotation
- the annotation classproperties
- the properties to use for replacement
Exception
- for any errorpublic static Object createAnnotation(String annotationExpr, ClassLoader cl, Properties properties) throws Exception
annotationExpr
- the annotation expressioncl
- the classloader to useproperties
- the properties to use for replacement
Exception
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |