Top Description Fields Constructors Methods
org.easymock.bytebuddy.description.modifier

public final Enum Mandate

extends Enum<Mandate>
implements ForField, ForMethod, ForParameter
Class Inheritance
All Implemented Interfaces
org.easymock.bytebuddy.description.modifier.ModifierContributor.ForParameter, org.easymock.bytebuddy.description.modifier.ModifierContributor, org.easymock.bytebuddy.description.modifier.ModifierContributor.ForMethod, org.easymock.bytebuddy.description.modifier.ModifierContributor.ForField
Imports
org.easymock.bytebuddy.jar.asm.Opcodes

Indicates if a member is mandated.

Field Summary

Modifier and TypeField and Description
public static final Mandate
MANDATED

Modifier for a mandated member.

private final int
mask

The modifier mask for this mandate.

public static final Mandate
PLAIN

Modifier for a non-mandated member.

Constructor Summary

AccessConstructor and Description
private
Mandate(int
The modifier mask for this mandate.
mask
)

Creates a new mandate state.

Method Summary

Modifier and TypeMethod and Description
public int
public int
getRange()

Implements org.easymock.bytebuddy.description.modifier.ModifierContributor.getRange.

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

Implements org.easymock.bytebuddy.description.modifier.ModifierContributor.isDefault.

Determines if this is the default modifier.
public boolean

Returns:

true if this state is mandated.
isMandated
()

Returns true if this state is mandated.

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

Field Detail

MANDATEDback to summary
public static final Mandate MANDATED

Modifier for a mandated member.

maskback to summary
private final int mask

The modifier mask for this mandate.

PLAINback to summary
public static final Mandate PLAIN

Modifier for a non-mandated member. (The default modifier.)

Constructor Detail

Mandateback to summary
private Mandate(int mask)

Creates a new mandate state.

Parameters
mask:int

The modifier mask for this mandate.

Method Detail

getMaskback to summary
public int getMask()

Implements org.easymock.bytebuddy.description.modifier.ModifierContributor.getMask.

Doc from org.easymock.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 org.easymock.bytebuddy.description.modifier.ModifierContributor.getRange.

Doc from org.easymock.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 org.easymock.bytebuddy.description.modifier.ModifierContributor.isDefault.

Doc from org.easymock.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()

Returns true if this state is mandated.

Returns:boolean

true if this state is mandated.

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