Package gw.lang.reflect
Class PropertyInfoBuilder
- java.lang.Object
-
- gw.lang.reflect.PropertyInfoBuilder
-
public class PropertyInfoBuilder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyInfoBuilder.BuiltPropertyInfo
-
Constructor Summary
Constructors Constructor Description PropertyInfoBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPropertyInfo
build(IFeatureInfo container)
PropertyInfoBuilder
like(IPropertyInfo prop)
PropertyInfoBuilder
withAccessor(IPropertyAccessor accessor)
PropertyInfoBuilder
withAnnotations(IAnnotationInfo... annotations)
PropertyInfoBuilder
withDeprecated(String deprecated)
PropertyInfoBuilder
withDescription(String description)
PropertyInfoBuilder
withGetter(String javaGetterMethodName)
PropertyInfoBuilder
withLocation(ILocationInfo locationInfo)
PropertyInfoBuilder
withName(String name)
PropertyInfoBuilder
withReadable(boolean readable)
PropertyInfoBuilder
withStatic()
PropertyInfoBuilder
withStatic(boolean isStatic)
PropertyInfoBuilder
withType(IType type)
PropertyInfoBuilder
withType(Class returnType)
PropertyInfoBuilder
withWritable(boolean writable)
-
-
-
Method Detail
-
withName
public PropertyInfoBuilder withName(String name)
-
withType
public PropertyInfoBuilder withType(IType type)
-
withType
public PropertyInfoBuilder withType(Class returnType)
-
withStatic
public PropertyInfoBuilder withStatic()
-
withStatic
public PropertyInfoBuilder withStatic(boolean isStatic)
-
withAccessor
public PropertyInfoBuilder withAccessor(IPropertyAccessor accessor)
-
withGetter
public PropertyInfoBuilder withGetter(String javaGetterMethodName)
-
withReadable
public PropertyInfoBuilder withReadable(boolean readable)
-
withWritable
public PropertyInfoBuilder withWritable(boolean writable)
-
withDescription
public PropertyInfoBuilder withDescription(String description)
-
withDeprecated
public PropertyInfoBuilder withDeprecated(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)
-
-