Package ftbsc.lll.proxies.impl
Class FieldProxy.Builder
- Enclosing class:
- FieldProxy
A builder object for
FieldProxy.-
Field Summary
Fields inherited from class ftbsc.lll.proxies.AbstractProxy.Builder
descriptor, modifiers, name, parent -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFieldProxyof the given kind.Sets the parent class of this field to the one described by the fully qualified name.Sets the parent class of this field to the one described by the fully qualified name and with the given modifiers.Sets the type of the field to the givenClassobject.Sets the type of the field to the given type.Methods inherited from class ftbsc.lll.proxies.AbstractProxy.Builder
addModifier, setDescriptor, setModifiers, setParent, setType
-
Method Details
-
setParent
Sets the parent class of this field to the one described by the fully qualified name and with the given modifiers.- Parameters:
parentFQN- the fully qualified name of the parentmodifiers- the modifiers of the parent- Returns:
- the builder's state after the change
-
setParent
Sets the parent class of this field to the one described by the fully qualified name.- Parameters:
parentFQN- the fully qualified name of the parent- Returns:
- the builder's state after the change
-
setType
Sets the type of the field to the givenClassobject.- Parameters:
clazz- theClasscorresponding to the element- Returns:
- the current state of the builder
-
setType
Sets the type of the field to the given type.- Parameters:
fqn- the fully qualified name of the parameter typearrayLevel- the array level- Returns:
- the builder's state after the change
-
build
Builds aFieldProxyof the given kind.- Specified by:
buildin classAbstractProxy.Builder<FieldProxy>- Returns:
- the built
FieldProxy
-