public static class AnnotationDescription.AnnotationProperty extends Object
Constructor and Description |
---|
AnnotationProperty(String name,
Object value)
Initialize annotation property with given parameters.
|
AnnotationProperty(String name,
Object value,
boolean array,
boolean type)
Initialize annotation property with given parameters.
|
AnnotationProperty(String name,
TypeDescription typeDescription)
Initialize annotation property with given parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get annotation property name
|
Object |
getValue()
Get annotation property value
|
boolean |
isArray()
Get an array identificator
|
boolean |
isType()
Get java class type identificator
|
public AnnotationProperty(String name, Object value)
name
- property namevalue
- property valueNullPointerException
- if any argument is null
public AnnotationProperty(String name, TypeDescription typeDescription)
name
- property nametypeDescription
- java type description (when we need to write Object.class
as value)NullPointerException
- if any argument is null
public AnnotationProperty(String name, Object value, boolean array, boolean type)
name
- property namevalue
- property valuearray
- determines if this property is array or nottype
- determines if this property is java class type or notNullPointerException
- if any argument is null
public String getName()
public Object getValue()
public boolean isArray()
public boolean isType()
Copyright © 2004–2022 OpenL Tablets. All rights reserved.