public interface Property
| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation> |
getAnnotation(Class<A> annotation)
Get the specific annotation
|
Annotation[] |
getAnnotations()
Get annotations assigned to the property
|
default org.panda_lang.utilities.commons.function.Option<Field> |
getField()
Get associated field if present
|
String |
getName()
Get property name
|
default org.panda_lang.utilities.commons.function.Option<Parameter> |
getParameter()
Get associated parameter if present
|
Type |
getParametrizedType()
Get the generic signature used by the property
|
Class<?> |
getType()
Get property type
|
default org.panda_lang.utilities.commons.function.Option<Field> getField()
default org.panda_lang.utilities.commons.function.Option<Parameter> getParameter()
<A extends Annotation> A getAnnotation(Class<A> annotation)
A - the annotation typeannotation - the type of annotation to search forAnnotation[] getAnnotations()
Type getParametrizedType()
Class<?> getType()
String getName()
Copyright © 2021. All rights reserved.