Class AnnotationConverter
- java.lang.Object
-
- org.jd.core.v1.service.converter.classfiletojavasyntax.util.AnnotationConverter
-
- All Implemented Interfaces:
ElementValueVisitor
public class AnnotationConverter extends java.lang.Object implements ElementValueVisitor
-
-
Field Summary
Fields Modifier and Type Field Description protected ElementValue
elementValue
protected TypeMaker
typeMaker
-
Constructor Summary
Constructors Constructor Description AnnotationConverter(TypeMaker typeMaker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AnnotationReference
convert(Annotation annotation)
protected BaseAnnotationReference
convert(Annotations annotations)
BaseAnnotationReference
convert(Annotations visibles, Annotations invisibles)
ElementValue
convert(ElementValue ev)
void
visit(ElementValueAnnotationValue elementValueAnnotationValue)
void
visit(ElementValueArrayValue elementValueArrayValue)
void
visit(ElementValueClassInfo elementValueClassInfo)
void
visit(ElementValueEnumConstValue elementValueEnumConstValue)
void
visit(ElementValuePrimitiveType elementValuePrimitiveType)
-
-
-
Field Detail
-
typeMaker
protected TypeMaker typeMaker
-
elementValue
protected ElementValue elementValue
-
-
Constructor Detail
-
AnnotationConverter
public AnnotationConverter(TypeMaker typeMaker)
-
-
Method Detail
-
convert
public BaseAnnotationReference convert(Annotations visibles, Annotations invisibles)
-
convert
protected BaseAnnotationReference convert(Annotations annotations)
-
convert
protected AnnotationReference convert(Annotation annotation)
-
convert
public ElementValue convert(ElementValue ev)
-
visit
public void visit(ElementValuePrimitiveType elementValuePrimitiveType)
- Specified by:
visit
in interfaceElementValueVisitor
-
visit
public void visit(ElementValueClassInfo elementValueClassInfo)
- Specified by:
visit
in interfaceElementValueVisitor
-
visit
public void visit(ElementValueAnnotationValue elementValueAnnotationValue)
- Specified by:
visit
in interfaceElementValueVisitor
-
visit
public void visit(ElementValueEnumConstValue elementValueEnumConstValue)
- Specified by:
visit
in interfaceElementValueVisitor
-
visit
public void visit(ElementValueArrayValue elementValueArrayValue)
- Specified by:
visit
in interfaceElementValueVisitor
-
-