Class AnnotationProperty
java.lang.Object
jnr.ffi.util.AnnotationProperty
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationProperty(String name, Class<?> type) Creates a new annotation property instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Returns the property name.Class<?> getType()Returns the property type.getValue()Returns the property value.protected intCalculates this annotation value hash code.inthashCode()voidSets the property value.toString()protected StringCalculates thetoStringof the property value.
-
Field Details
-
name
The property name. -
type
The property type. -
value
The property value. This field can be mutable.
-
-
Constructor Details
-
AnnotationProperty
-
-
Method Details
-
getName
-
getType
-
getValue
-
setValue
-
hashCode
-
getValueHashCode
protected int getValueHashCode()Calculates this annotation value hash code.- Returns:
- this annotation value hash code.
-
equals
-
toString
-
valueToString
Calculates thetoStringof the property value.- Returns:
- the
toStringof the property value.
-