Package jadex.commons
Class SClassReader.AnnotationInfo
- java.lang.Object
-
- jadex.commons.SClassReader.AnnotationInfo
-
- Enclosing class:
- SClassReader
public static class SClassReader.AnnotationInfo extends java.lang.ObjectClass containing annotation infos.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotationInfo(java.lang.String type)Creates the info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddValue(java.lang.String name, java.lang.Object value)Adds a value.java.lang.StringgetType()java.lang.ObjectgetValue(java.lang.String name)Returns a contained value.java.util.Map<java.lang.String,java.lang.Object>getValues()Returns the contained values.java.lang.StringtoString()Get the string representation.
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getValue
public java.lang.Object getValue(java.lang.String name)
Returns a contained value.- Returns:
- The contained value.
-
getValues
public java.util.Map<java.lang.String,java.lang.Object> getValues()
Returns the contained values.- Returns:
- The contained values.
-
addValue
protected void addValue(java.lang.String name, java.lang.Object value)Adds a value.- Parameters:
name- Name of the value.value- The value.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object
-
-