|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.annotations.AnnotationsUtil
public final class AnnotationsUtil
Utility class for annotations.
Method Summary | |
---|---|
static Boolean |
getBoolean(Annotatable annotatable,
String key)
Retrieve a boolean value from an annotation. |
static Float |
getFloat(Annotatable annotatable,
String key)
Retrieve a floating point value from an annotation. |
static Integer |
getInt(Annotatable annotatable,
String key)
Retrieve an integer value from an annotation. |
static String |
getString(Annotatable annotatable,
String key)
Retrieve a string value from an annotation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getString(Annotatable annotatable, String key)
annotatable
- an annotatable objectkey
- the annotation key
null
if there is nonepublic static Integer getInt(Annotatable annotatable, String key)
annotatable
- an annotatable objectkey
- the annotation key
null
if there is nonepublic static Boolean getBoolean(Annotatable annotatable, String key)
annotatable
- an annotatable objectkey
- the annotation key
null
if there is nonepublic static Float getFloat(Annotatable annotatable, String key)
annotatable
- an annotatable objectkey
- the annotation key
null
if there is none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |