Top Description Fields Constructors Methods
net.bytebuddy.description.modifier

public final Enum ProvisioningState

extends Enum<ProvisioningState>
implements ForParameter
Class Inheritance
All Implemented Interfaces
net.bytebuddy.description.modifier.ModifierContributor.ForParameter, net.bytebuddy.description.modifier.ModifierContributor
Imports
net.bytebuddy.jar.asm.Opcodes

Describes if a method parameter is mandated, i.e. not explicitly specified in the source code.

Field Summary

Modifier and TypeField and Description
public static final ProvisioningState
MANDATED

Defines a parameter to be mandated.

private final int
mask

The mask of this provisioning state.

public static final ProvisioningState
PLAIN

Defines a parameter to not be mandated.

Constructor Summary

AccessConstructor and Description
private
ProvisioningState(int
The mask of this provisioning state.
mask
)

Creates a new provisioning state.

Method Summary

Modifier and TypeMethod and Description
public int
getMask()

Implements net.bytebuddy.description.modifier.ModifierContributor.getMask.

Returns the mask of this modifier.
public int
getRange()

Implements net.bytebuddy.description.modifier.ModifierContributor.getRange.

Returns the entire range of modifiers that address this contributor's property.
public boolean
isDefault()

Implements net.bytebuddy.description.modifier.ModifierContributor.isDefault.

Determines if this is the default modifier.
public boolean

Returns:

true if this instance represents a mandated parameter.
isMandated
()

Checks if this instance represents a mandated parameter or not.

public static ProvisioningState
public static ProvisioningState[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

MANDATEDback to summary
public static final ProvisioningState MANDATED

Defines a parameter to be mandated.

maskback to summary
private final int mask

The mask of this provisioning state.

PLAINback to summary
public static final ProvisioningState PLAIN

Defines a parameter to not be mandated. (This is the default modifier.)

Constructor Detail

ProvisioningStateback to summary
private ProvisioningState(int mask)

Creates a new provisioning state.

Parameters
mask:int

The mask of this provisioning state.

Method Detail

getMaskback to summary
public int getMask()

Implements net.bytebuddy.description.modifier.ModifierContributor.getMask.

Doc from net.bytebuddy.description.modifier.ModifierContributor.getMask.

Returns the mask of this modifier.

Returns:int

The modifier mask that is to be applied to the target type or type member.

getRangeback to summary
public int getRange()

Implements net.bytebuddy.description.modifier.ModifierContributor.getRange.

Doc from net.bytebuddy.description.modifier.ModifierContributor.getRange.

Returns the entire range of modifiers that address this contributor's property.

Returns:int

The range of this contributor's property.

isDefaultback to summary
public boolean isDefault()

Implements net.bytebuddy.description.modifier.ModifierContributor.isDefault.

Doc from net.bytebuddy.description.modifier.ModifierContributor.isDefault.

Determines if this is the default modifier.

Returns:boolean

true if this contributor represents the default modifier.

isMandatedback to summary
public boolean isMandated()

Checks if this instance represents a mandated parameter or not.

Returns:boolean

true if this instance represents a mandated parameter.

valueOfback to summary
public static ProvisioningState valueOf(String name)
valuesback to summary
public static ProvisioningState[] values()