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>
public interface Property<O extends JavaType<O>> extends Named, AnnotationTarget<O>
APropertyis a convenience construct depicting a simple Java bean property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Method<O,?>getAccessor()Get this property's accessor method.Field<O>getField()Get the field that stores the value of the property.Method<O,?>getMutator()Get this property's mutator method.Type<O>getType()Get this property'sType.booleanhasField()Learn whether this property is backed by aField.booleanisAccessible()Learn whether this property is accessible (i.e.booleanisMutable()Learn whether this property is mutable (i.e.-
Methods inherited from interface org.jboss.forge.roaster.model.AnnotationTarget
getAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotation
-
Methods inherited from interface org.jboss.forge.roaster.Internal
getInternal
-
-
-
-
Method Detail
-
hasField
boolean hasField()
Learn whether this property is backed by aField.
-
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).
-
-