|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unisaarland.cs.st.jerify.verifier.helpers.annotationValueVisitors.AnnotationHelper
public final class AnnotationHelper
Helper methods that help with annotation handling
| Constructor Summary | |
|---|---|
AnnotationHelper()
|
|
| Method Summary | |
|---|---|
static javax.lang.model.element.AnnotationMirror |
getAnnotation(checkers.types.AnnotatedTypeMirror type,
java.lang.String annotationName)
Get an AnnotationMirror by its name |
static java.util.List<javax.lang.model.element.AnnotationMirror> |
getAnnotationMirrorList(javax.lang.model.element.AnnotationValue a)
Convert an AnnotationValue to a List |
static java.util.List<javax.lang.model.element.AnnotationMirror> |
getAnnotationValue_AnnotationMirrorList(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
Get the AnnotationValue named like key and convert it to a List |
static java.lang.Integer |
getAnnotationValue_Int(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
Get the AnnotationValue named like key and convert it to an Integer |
static java.util.List<java.lang.Integer> |
getAnnotationValue_IntList(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
Get the AnnotationValue named like key and convert it to a List |
static java.lang.String |
getAnnotationValue_String(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
Get the AnnotationValue named like key and convert it to a String |
static java.util.List<java.lang.String> |
getAnnotationValue_StringList(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
Get the AnnotationValue named like key and convert it to a List |
static java.lang.Integer |
getInt(javax.lang.model.element.AnnotationValue a)
Convert an AnnotationValue to an Integer |
static java.util.List<java.lang.Integer> |
getIntList(javax.lang.model.element.AnnotationValue a)
Convert an AnnotationValue to a List |
static java.lang.String |
getString(javax.lang.model.element.AnnotationValue a)
Convert an AnnotationValue to a String |
static java.util.List<java.lang.String> |
getStringList(javax.lang.model.element.AnnotationValue a)
Convert an AnnotationValue to a List |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationHelper()
| Method Detail |
|---|
public static final javax.lang.model.element.AnnotationMirror getAnnotation(checkers.types.AnnotatedTypeMirror type,
java.lang.String annotationName)
public static final java.util.List<java.lang.Integer> getIntList(javax.lang.model.element.AnnotationValue a)
public static final java.lang.Integer getInt(javax.lang.model.element.AnnotationValue a)
public static final java.util.List<java.lang.String> getStringList(javax.lang.model.element.AnnotationValue a)
public static final java.lang.String getString(javax.lang.model.element.AnnotationValue a)
public static final java.util.List<javax.lang.model.element.AnnotationMirror> getAnnotationMirrorList(javax.lang.model.element.AnnotationValue a)
public static final java.util.List<javax.lang.model.element.AnnotationMirror> getAnnotationValue_AnnotationMirrorList(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
public static final java.lang.String getAnnotationValue_String(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
public static final java.util.List<java.lang.String> getAnnotationValue_StringList(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
public static final java.util.List<java.lang.Integer> getAnnotationValue_IntList(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
public static final java.lang.Integer getAnnotationValue_Int(javax.lang.model.element.AnnotationMirror am,
java.lang.String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||