public class AnnotationElemSwitch extends AbstractAnnotationElemTypeSwitch
AbstractAnnotationElemTypeSwitch
that converts an
AnnotationElem
to a mapping of element name and the actual result.Modifier and Type | Class and Description |
---|---|
class |
AnnotationElemSwitch.AnnotationElemResult<V>
A helper class to map method name and result.
|
Constructor and Description |
---|
AnnotationElemSwitch() |
Modifier and Type | Method and Description |
---|---|
void |
caseAnnotationAnnotationElem(AnnotationAnnotationElem v) |
void |
caseAnnotationArrayElem(AnnotationArrayElem v) |
void |
caseAnnotationBooleanElem(AnnotationBooleanElem v) |
void |
caseAnnotationClassElem(AnnotationClassElem v) |
void |
caseAnnotationDoubleElem(AnnotationDoubleElem v) |
void |
caseAnnotationEnumElem(AnnotationEnumElem v) |
void |
caseAnnotationFloatElem(AnnotationFloatElem v) |
void |
caseAnnotationIntElem(AnnotationIntElem v) |
void |
caseAnnotationLongElem(AnnotationLongElem v) |
void |
caseAnnotationStringElem(AnnotationStringElem v) |
void |
defaultCase(java.lang.Object object) |
getResult, setResult
public void caseAnnotationAnnotationElem(AnnotationAnnotationElem v)
caseAnnotationAnnotationElem
in interface IAnnotationElemTypeSwitch
caseAnnotationAnnotationElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationArrayElem(AnnotationArrayElem v)
caseAnnotationArrayElem
in interface IAnnotationElemTypeSwitch
caseAnnotationArrayElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationBooleanElem(AnnotationBooleanElem v)
caseAnnotationBooleanElem
in interface IAnnotationElemTypeSwitch
caseAnnotationBooleanElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationClassElem(AnnotationClassElem v)
caseAnnotationClassElem
in interface IAnnotationElemTypeSwitch
caseAnnotationClassElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationDoubleElem(AnnotationDoubleElem v)
caseAnnotationDoubleElem
in interface IAnnotationElemTypeSwitch
caseAnnotationDoubleElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationEnumElem(AnnotationEnumElem v)
caseAnnotationEnumElem
in interface IAnnotationElemTypeSwitch
caseAnnotationEnumElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationFloatElem(AnnotationFloatElem v)
caseAnnotationFloatElem
in interface IAnnotationElemTypeSwitch
caseAnnotationFloatElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationIntElem(AnnotationIntElem v)
caseAnnotationIntElem
in interface IAnnotationElemTypeSwitch
caseAnnotationIntElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationLongElem(AnnotationLongElem v)
caseAnnotationLongElem
in interface IAnnotationElemTypeSwitch
caseAnnotationLongElem
in class AbstractAnnotationElemTypeSwitch
public void caseAnnotationStringElem(AnnotationStringElem v)
caseAnnotationStringElem
in interface IAnnotationElemTypeSwitch
caseAnnotationStringElem
in class AbstractAnnotationElemTypeSwitch
public void defaultCase(java.lang.Object object)
defaultCase
in interface IAnnotationElemTypeSwitch
defaultCase
in class AbstractAnnotationElemTypeSwitch