Package net.bytebuddy.description
Class ModifierReviewable.AbstractBase
- java.lang.Object
-
- net.bytebuddy.description.ModifierReviewable.AbstractBase
-
- All Implemented Interfaces:
ModifierReviewable,ModifierReviewable.ForFieldDescription,ModifierReviewable.ForMethodDescription,ModifierReviewable.ForParameterDescription,ModifierReviewable.ForTypeDefinition,ModifierReviewable.OfAbstraction,ModifierReviewable.OfByteCodeElement,ModifierReviewable.OfEnumeration
- Direct Known Subclasses:
FieldDescription.AbstractBase,ParameterDescription.AbstractBase,TypeDescription.Generic.AbstractBase,TypeVariableSource.AbstractBase
- Enclosing interface:
- ModifierReviewable
public abstract static class ModifierReviewable.AbstractBase extends java.lang.Object implements ModifierReviewable.ForTypeDefinition, ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription
An abstract base implementation of aModifierReviewableclass.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.description.ModifierReviewable
ModifierReviewable.AbstractBase, ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
-
-
Field Summary
-
Fields inherited from interface net.bytebuddy.description.ModifierReviewable
EMPTY_MASK
-
-
Constructor Summary
Constructors Constructor Description AbstractBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumerationStategetEnumerationState()Returns this byte code element's enumeration state.FieldManifestationgetFieldManifestation()Returns this field's manifestation.FieldPersistencegetFieldPersistence()Returns this field's persistence.MethodManifestationgetMethodManifestation()Returns this method's manifestation.MethodStrictnessgetMethodStrictness()Returns this method's strictness in floating-point computation.OwnershipgetOwnership()Return's this byte code element's ownership.ParameterManifestationgetParameterManifestation()Returns this parameter's manifestation.ProvisioningStategetProvisioningState()Returns this parameter's provisioning state.SynchronizationStategetSynchronizationState()Returns this method's synchronization state.SyntheticStategetSyntheticState()Returns this objects synthetic state.TypeManifestationgetTypeManifestation()Returns this type's manifestation.VisibilitygetVisibility()Returns this byte code element's visibility.booleanisAbstract()Specifies if the modifier described by this object isabstract.booleanisAnnotation()Specifies if the modifier described by this object represents the annotation flag.booleanisBridge()Specifies if the modifier described by this object represents the bridge flag.booleanisDeprecated()Specifies if the modifier described by this object represents the deprecated flag.booleanisEnum()Specifies if the modifier described by this object represents the enum flag.booleanisFinal()Specifies if the modifier described by this object isfinal.booleanisInterface()Specifies if the modifier described by this object represents the interface flag.booleanisMandated()CSpecifies if the modifier described by this object is mandated.booleanisNative()Specifies if the modifier described by this object isnative.booleanisPackagePrivate()Specifies if the modifier described by this object is package private.booleanisPrivate()Specifies if the modifier described by this object isprivate.booleanisProtected()Specifies if the modifier described by this object isprotected.booleanisPublic()Specifies if the modifier described by this object ispublic.booleanisStatic()Specifies if the modifier described by this object isstatic.booleanisStrict()Specifies if the modifier described by this object isstrictfp.booleanisSynchronized()Specifies if the modifier described by this object issynchronized.booleanisSynthetic()Specifies if the modifier described by this object is synthetic.booleanisTransient()Specifies if the modifier described by this object represents the transient flag.booleanisVarArgs()Specifies if the modifier described by this object represents the var args flag.booleanisVolatile()Specifies if the modifier described by this object represents the volatile flag.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.bytebuddy.description.ModifierReviewable
getModifiers
-
-
-
-
Method Detail
-
isAbstract
public boolean isAbstract()
Description copied from interface:ModifierReviewable.OfAbstractionSpecifies if the modifier described by this object isabstract.- Specified by:
isAbstractin interfaceModifierReviewable.OfAbstraction- Returns:
trueif the modifier described by this object isabstract.
-
isFinal
public boolean isFinal()
Description copied from interface:ModifierReviewableSpecifies if the modifier described by this object isfinal.- Specified by:
isFinalin interfaceModifierReviewable- Returns:
trueif the modifier described by this object isfinal.
-
isStatic
public boolean isStatic()
Description copied from interface:ModifierReviewable.OfByteCodeElementSpecifies if the modifier described by this object isstatic.- Specified by:
isStaticin interfaceModifierReviewable.OfByteCodeElement- Returns:
trueif the modifier described by this object isstatic.
-
isPublic
public boolean isPublic()
Description copied from interface:ModifierReviewable.OfByteCodeElementSpecifies if the modifier described by this object ispublic.- Specified by:
isPublicin interfaceModifierReviewable.OfByteCodeElement- Returns:
trueif the modifier described by this object ispublic.
-
isProtected
public boolean isProtected()
Description copied from interface:ModifierReviewable.OfByteCodeElementSpecifies if the modifier described by this object isprotected.- Specified by:
isProtectedin interfaceModifierReviewable.OfByteCodeElement- Returns:
trueif the modifier described by this object isprotected.
-
isPackagePrivate
public boolean isPackagePrivate()
Description copied from interface:ModifierReviewable.OfByteCodeElementSpecifies if the modifier described by this object is package private.- Specified by:
isPackagePrivatein interfaceModifierReviewable.OfByteCodeElement- Returns:
trueif the modifier described by this object is package private.
-
isPrivate
public boolean isPrivate()
Description copied from interface:ModifierReviewable.OfByteCodeElementSpecifies if the modifier described by this object isprivate.- Specified by:
isPrivatein interfaceModifierReviewable.OfByteCodeElement- Returns:
trueif the modifier described by this object isprivate.
-
isNative
public boolean isNative()
Description copied from interface:ModifierReviewable.ForMethodDescriptionSpecifies if the modifier described by this object isnative.- Specified by:
isNativein interfaceModifierReviewable.ForMethodDescription- Returns:
trueif the modifier described by this object isnative.
-
isSynchronized
public boolean isSynchronized()
Description copied from interface:ModifierReviewable.ForMethodDescriptionSpecifies if the modifier described by this object issynchronized.- Specified by:
isSynchronizedin interfaceModifierReviewable.ForMethodDescription- Returns:
trueif the modifier described by this object issynchronized.
-
isStrict
public boolean isStrict()
Description copied from interface:ModifierReviewable.ForMethodDescriptionSpecifies if the modifier described by this object isstrictfp.- Specified by:
isStrictin interfaceModifierReviewable.ForMethodDescription- Returns:
trueif the modifier described by this object isstrictfp.
-
isMandated
public boolean isMandated()
Description copied from interface:ModifierReviewable.ForParameterDescriptionCSpecifies if the modifier described by this object is mandated.- Specified by:
isMandatedin interfaceModifierReviewable.ForParameterDescription- Returns:
trueif the modifier described by this object is mandated.
-
isSynthetic
public boolean isSynthetic()
Description copied from interface:ModifierReviewableSpecifies if the modifier described by this object is synthetic.- Specified by:
isSyntheticin interfaceModifierReviewable- Returns:
trueif the modifier described by this object is synthetic.
-
isBridge
public boolean isBridge()
Description copied from interface:ModifierReviewable.ForMethodDescriptionSpecifies if the modifier described by this object represents the bridge flag.- Specified by:
isBridgein interfaceModifierReviewable.ForMethodDescription- Returns:
trueif the modifier described by this object represents the bridge flag
-
isDeprecated
public boolean isDeprecated()
Description copied from interface:ModifierReviewable.OfByteCodeElementSpecifies if the modifier described by this object represents the deprecated flag.- Specified by:
isDeprecatedin interfaceModifierReviewable.OfByteCodeElement- Returns:
trueif the modifier described by this object represents the deprecated flag.
-
isAnnotation
public boolean isAnnotation()
Description copied from interface:ModifierReviewable.ForTypeDefinitionSpecifies if the modifier described by this object represents the annotation flag.- Specified by:
isAnnotationin interfaceModifierReviewable.ForTypeDefinition- Returns:
trueif the modifier described by this object represents the annotation flag.
-
isEnum
public boolean isEnum()
Description copied from interface:ModifierReviewable.OfEnumerationSpecifies if the modifier described by this object represents the enum flag.- Specified by:
isEnumin interfaceModifierReviewable.OfEnumeration- Returns:
trueif the modifier described by this object represents the enum flag.
-
isInterface
public boolean isInterface()
Description copied from interface:ModifierReviewable.ForTypeDefinitionSpecifies if the modifier described by this object represents the interface flag.- Specified by:
isInterfacein interfaceModifierReviewable.ForTypeDefinition- Returns:
trueif the modifier described by this object represents the interface flag.
-
isTransient
public boolean isTransient()
Description copied from interface:ModifierReviewable.ForFieldDescriptionSpecifies if the modifier described by this object represents the transient flag.- Specified by:
isTransientin interfaceModifierReviewable.ForFieldDescription- Returns:
trueif the modifier described by this object represents the transient flag.
-
isVolatile
public boolean isVolatile()
Description copied from interface:ModifierReviewable.ForFieldDescriptionSpecifies if the modifier described by this object represents the volatile flag.- Specified by:
isVolatilein interfaceModifierReviewable.ForFieldDescription- Returns:
trueif the modifier described by this object represents the volatile flag.
-
isVarArgs
public boolean isVarArgs()
Description copied from interface:ModifierReviewable.ForMethodDescriptionSpecifies if the modifier described by this object represents the var args flag.- Specified by:
isVarArgsin interfaceModifierReviewable.ForMethodDescription- Returns:
trueif the modifier described by this object represents the var args flag.
-
getSyntheticState
public SyntheticState getSyntheticState()
Description copied from interface:ModifierReviewableReturns this objects synthetic state.- Specified by:
getSyntheticStatein interfaceModifierReviewable- Returns:
- This objects synthetic state.
-
getVisibility
public Visibility getVisibility()
Description copied from interface:ModifierReviewable.OfByteCodeElementReturns this byte code element's visibility.- Specified by:
getVisibilityin interfaceModifierReviewable.OfByteCodeElement- Returns:
- This byte code element's visibility.
-
getOwnership
public Ownership getOwnership()
Description copied from interface:ModifierReviewable.OfByteCodeElementReturn's this byte code element's ownership.- Specified by:
getOwnershipin interfaceModifierReviewable.OfByteCodeElement- Returns:
- This byte code element's ownership.
-
getEnumerationState
public EnumerationState getEnumerationState()
Description copied from interface:ModifierReviewable.OfEnumerationReturns this byte code element's enumeration state.- Specified by:
getEnumerationStatein interfaceModifierReviewable.OfEnumeration- Returns:
- This byte code element's enumeration state.
-
getTypeManifestation
public TypeManifestation getTypeManifestation()
Description copied from interface:ModifierReviewable.ForTypeDefinitionReturns this type's manifestation.- Specified by:
getTypeManifestationin interfaceModifierReviewable.ForTypeDefinition- Returns:
- This type's manifestation.
-
getFieldManifestation
public FieldManifestation getFieldManifestation()
Description copied from interface:ModifierReviewable.ForFieldDescriptionReturns this field's manifestation.- Specified by:
getFieldManifestationin interfaceModifierReviewable.ForFieldDescription- Returns:
- This field's manifestation.
-
getFieldPersistence
public FieldPersistence getFieldPersistence()
Description copied from interface:ModifierReviewable.ForFieldDescriptionReturns this field's persistence.- Specified by:
getFieldPersistencein interfaceModifierReviewable.ForFieldDescription- Returns:
- This field's persistence.
-
getSynchronizationState
public SynchronizationState getSynchronizationState()
Description copied from interface:ModifierReviewable.ForMethodDescriptionReturns this method's synchronization state.- Specified by:
getSynchronizationStatein interfaceModifierReviewable.ForMethodDescription- Returns:
- This method's synchronization state.
-
getMethodManifestation
public MethodManifestation getMethodManifestation()
Description copied from interface:ModifierReviewable.ForMethodDescriptionReturns this method's manifestation.- Specified by:
getMethodManifestationin interfaceModifierReviewable.ForMethodDescription- Returns:
- This method's manifestation.
-
getMethodStrictness
public MethodStrictness getMethodStrictness()
Description copied from interface:ModifierReviewable.ForMethodDescriptionReturns this method's strictness in floating-point computation.- Specified by:
getMethodStrictnessin interfaceModifierReviewable.ForMethodDescription- Returns:
- This method's strictness in floating-point computation.
-
getParameterManifestation
public ParameterManifestation getParameterManifestation()
Description copied from interface:ModifierReviewable.ForParameterDescriptionReturns this parameter's manifestation.- Specified by:
getParameterManifestationin interfaceModifierReviewable.ForParameterDescription- Returns:
- This parameter's manifestation.
-
getProvisioningState
public ProvisioningState getProvisioningState()
Description copied from interface:ModifierReviewable.ForParameterDescriptionReturns this parameter's provisioning state.- Specified by:
getProvisioningStatein interfaceModifierReviewable.ForParameterDescription- Returns:
- This parameter's provisioning state.
-
-