Package org.jboss.forge.roaster.model
Interface Property<O extends JavaType<O>>
- Type Parameters:
O-
- All Superinterfaces:
AnnotationTarget<O>,Internal,Named,Origin<O>
- All Known Subinterfaces:
PropertySource<O>
A
Property is a convenience construct depicting a simple Java bean property.-
Method Summary
Modifier and TypeMethodDescriptionGet this property's accessor method.getField()Get the field that stores the value of the property.Get this property's mutator method.getType()Get this property'sType.booleanhasField()Learn whether this property is backed by aField.booleanLearn whether this property is accessible (i.e.booleanLearn whether this property is mutable (i.e.Methods inherited from interface org.jboss.forge.roaster.model.AnnotationTarget
getAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotationMethods inherited from interface org.jboss.forge.roaster.Internal
getInternal
-
Method Details
-
getType
Get this property'sType. -
hasField
boolean hasField()Learn whether this property is backed by aField. -
getField
Get the field that stores the value of the property. -
isAccessible
boolean isAccessible()Learn whether this property is accessible (i.e. has an accessor method). -
isMutable
boolean isMutable()Learn whether this property is mutable (i.e. has a mutator method). -
getAccessor
Get this property's accessor method. -
getMutator
Get this property's mutator method.
-