Class Annotation
java.lang.Object
io.protostuff.parser.Annotation
- All Implemented Interfaces:
HasName
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final String(package private) final LinkedHashMap<String, Object> (package private) final LinkedHashMap<String, Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()final LinkedHashMap<String, Object> getP()Shorthand forgetParams().<T> Tfinal booleanisEmptyP()Shorthand for params.isEmpty().(package private) void(package private) voidtoString()
-
Field Details
-
name
-
refs
-
params
-
-
Constructor Details
-
Annotation
-
-
Method Details
-
getParams
-
getP
Shorthand forgetParams().If you have an annotation like @Foo(id = 1), you then can use: <if(message.a.("Foo")> <if(message.a.("Foo").p.("id")> ... <endif> <endif> -
put
-
putRef
-
getValue
-
getName
-
isEmptyP
public final boolean isEmptyP()Shorthand for params.isEmpty().You can then use: <if(message.a.("Foo").emptyP>Note that this does not work on stringtemplate: <if(message.a.("Foo").empty)> Even thoughMap.isEmpty()exists. -
toString
-