Package gw.lang.reflect
Class PropertyInfoBuilder
- java.lang.Object
-
- gw.lang.reflect.PropertyInfoBuilder
-
public class PropertyInfoBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyInfoBuilder.BuiltPropertyInfo
-
Field Summary
Fields Modifier and Type Field Description private IPropertyAccessor_accessorprivate java.util.List<IAnnotationInfo>_annotationsprivate java.lang.String_deprecatedprivate java.lang.String_descriptionprivate boolean_isStaticprivate java.lang.String_javaGetterMethodNameprivate ILocationInfo_locationInfoprivate java.lang.String_nameprivate boolean_readableprivate IType_typeprivate boolean_writable
-
Constructor Summary
Constructors Constructor Description PropertyInfoBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPropertyInfobuild(IFeatureInfo container)PropertyInfoBuilderlike(IPropertyInfo prop)PropertyInfoBuilderwithAccessor(IPropertyAccessor accessor)PropertyInfoBuilderwithAnnotations(IAnnotationInfo... annotations)PropertyInfoBuilderwithDeprecated(java.lang.String deprecated)PropertyInfoBuilderwithDescription(java.lang.String description)PropertyInfoBuilderwithGetter(java.lang.String javaGetterMethodName)PropertyInfoBuilderwithLocation(ILocationInfo locationInfo)PropertyInfoBuilderwithName(java.lang.String name)PropertyInfoBuilderwithReadable(boolean readable)PropertyInfoBuilderwithStatic()PropertyInfoBuilderwithStatic(boolean isStatic)PropertyInfoBuilderwithType(IType type)PropertyInfoBuilderwithType(java.lang.Class returnType)PropertyInfoBuilderwithWritable(boolean writable)
-
-
-
Field Detail
-
_isStatic
private boolean _isStatic
-
_name
private java.lang.String _name
-
_accessor
private IPropertyAccessor _accessor
-
_readable
private boolean _readable
-
_writable
private boolean _writable
-
_type
private IType _type
-
_description
private java.lang.String _description
-
_deprecated
private java.lang.String _deprecated
-
_javaGetterMethodName
private java.lang.String _javaGetterMethodName
-
_annotations
private java.util.List<IAnnotationInfo> _annotations
-
_locationInfo
private ILocationInfo _locationInfo
-
-
Method Detail
-
withName
public PropertyInfoBuilder withName(java.lang.String name)
-
withType
public PropertyInfoBuilder withType(IType type)
-
withType
public PropertyInfoBuilder withType(java.lang.Class returnType)
-
withStatic
public PropertyInfoBuilder withStatic()
-
withStatic
public PropertyInfoBuilder withStatic(boolean isStatic)
-
withAccessor
public PropertyInfoBuilder withAccessor(IPropertyAccessor accessor)
-
withGetter
public PropertyInfoBuilder withGetter(java.lang.String javaGetterMethodName)
-
withReadable
public PropertyInfoBuilder withReadable(boolean readable)
-
withWritable
public PropertyInfoBuilder withWritable(boolean writable)
-
withDescription
public PropertyInfoBuilder withDescription(java.lang.String description)
-
withDeprecated
public PropertyInfoBuilder withDeprecated(java.lang.String deprecated)
-
build
public IPropertyInfo build(IFeatureInfo container)
-
withAnnotations
public PropertyInfoBuilder withAnnotations(IAnnotationInfo... annotations)
-
like
public PropertyInfoBuilder like(IPropertyInfo prop)
-
withLocation
public PropertyInfoBuilder withLocation(ILocationInfo locationInfo)
-
-