Package net.bytebuddy.description
Interface ModifierReviewable.OfByteCodeElement
-
- All Superinterfaces:
ModifierReviewable
- All Known Subinterfaces:
ByteCodeElement,ByteCodeElement.Member,FieldDescription,FieldDescription.InDefinedShape,FieldDescription.InGenericShape,InstrumentedType,InstrumentedType.WithFlexibleName,MethodDescription,MethodDescription.InDefinedShape,MethodDescription.InGenericShape,ModifierReviewable.ForFieldDescription,ModifierReviewable.ForMethodDescription,ModifierReviewable.ForTypeDefinition,ModifierReviewable.OfAbstraction,ModifierReviewable.OfEnumeration,TypeDefinition,TypeDescription,TypeDescription.Generic,TypeVariableSource
- All Known Implementing Classes:
FieldDescription.AbstractBase,FieldDescription.ForLoadedField,FieldDescription.InDefinedShape.AbstractBase,FieldDescription.Latent,FieldDescription.TypeSubstituting,Implementation.Context.Default.AbstractPropertyAccessorMethod,Implementation.Context.Default.AccessorMethod,Implementation.Context.Default.CacheValueField,Implementation.Context.Default.FieldGetter,Implementation.Context.Default.FieldSetter,InstrumentedType.Default,InstrumentedType.Frozen,JavaType.LatentTypeWithSimpleName,MethodDescription.AbstractBase,MethodDescription.ForLoadedConstructor,MethodDescription.ForLoadedMethod,MethodDescription.InDefinedShape.AbstractBase,MethodDescription.InDefinedShape.AbstractBase.ForLoadedExecutable,MethodDescription.Latent,MethodDescription.Latent.TypeInitializer,MethodDescription.TypeSubstituting,MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor,MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod,ModifierReviewable.AbstractBase,ModuleDescription.AbstractBase,ModuleDescription.Exports.AbstractBase,ModuleDescription.Exports.Simple,ModuleDescription.ForLoadedModule,ModuleDescription.Latent,ModuleDescription.Opens.AbstractBase,ModuleDescription.Opens.Simple,ModuleDescription.Requires.AbstractBase,ModuleDescription.Requires.Simple,ParameterDescription.AbstractBase,ParameterDescription.ForLoadedParameter,ParameterDescription.ForLoadedParameter.OfConstructor,ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor,ParameterDescription.ForLoadedParameter.OfLegacyVmMethod,ParameterDescription.ForLoadedParameter.OfMethod,ParameterDescription.InDefinedShape.AbstractBase,ParameterDescription.Latent,ParameterDescription.TypeSubstituting,Transformer.ForField.TransformedField,Transformer.ForMethod.TransformedMethod,Transformer.ForMethod.TransformedMethod.TransformedParameter,TypeDescription.AbstractBase,TypeDescription.AbstractBase.OfSimpleType,TypeDescription.AbstractBase.OfSimpleType.WithDelegation,TypeDescription.ArrayProjection,TypeDescription.ForLoadedType,TypeDescription.ForPackageDescription,TypeDescription.Generic.AbstractBase,TypeDescription.Generic.LazyProjection,TypeDescription.Generic.LazyProjection.ForLoadedFieldType,TypeDescription.Generic.LazyProjection.ForLoadedReturnType,TypeDescription.Generic.LazyProjection.ForLoadedSuperClass,TypeDescription.Generic.LazyProjection.OfConstructorParameter,TypeDescription.Generic.LazyProjection.OfMethodParameter,TypeDescription.Generic.LazyProjection.OfRecordComponent,TypeDescription.Generic.LazyProjection.WithEagerNavigation,TypeDescription.Generic.LazyProjection.WithEagerNavigation.OfAnnotatedElement,TypeDescription.Generic.LazyProjection.WithLazyNavigation,TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceType,TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass,TypeDescription.Generic.LazyProjection.WithLazyNavigation.OfAnnotatedElement,TypeDescription.Generic.LazyProjection.WithResolvedErasure,TypeDescription.Generic.OfGenericArray,TypeDescription.Generic.OfGenericArray.ForLoadedType,TypeDescription.Generic.OfGenericArray.Latent,TypeDescription.Generic.OfNonGenericType,TypeDescription.Generic.OfNonGenericType.ForErasure,TypeDescription.Generic.OfNonGenericType.ForLoadedType,TypeDescription.Generic.OfNonGenericType.ForReifiedErasure,TypeDescription.Generic.OfNonGenericType.Latent,TypeDescription.Generic.OfParameterizedType,TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure,TypeDescription.Generic.OfParameterizedType.ForLoadedType,TypeDescription.Generic.OfParameterizedType.ForReifiedType,TypeDescription.Generic.OfParameterizedType.Latent,TypeDescription.Generic.OfTypeVariable,TypeDescription.Generic.OfTypeVariable.ForLoadedType,TypeDescription.Generic.OfTypeVariable.Symbolic,TypeDescription.Generic.OfTypeVariable.WithAnnotationOverlay,TypeDescription.Generic.OfWildcardType,TypeDescription.Generic.OfWildcardType.ForLoadedType,TypeDescription.Generic.OfWildcardType.Latent,TypeDescription.Generic.Visitor.AnnotationStripper.NonAnnotatedTypeVariable,TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.RetainedMethodTypeVariable,TypeDescription.Latent,TypeDescription.SuperTypeLoading,TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection,TypeList.Generic.ForDetachedTypes.OfTypeVariables.AttachedTypeVariable,TypeList.Generic.OfConstructorExceptionTypes.TypeProjection,TypeList.Generic.OfLoadedInterfaceTypes.TypeProjection,TypeList.Generic.OfMethodExceptionTypes.TypeProjection,TypePool.Default.LazyTypeDescription,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForGenericArray.LazyGenericArray,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForLowerBoundWildcard.LazyLowerBoundWildcard,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.AnnotatedTypeVariable,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.UnresolvedTypeVariable,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard.LazyUnboundWildcard,TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUpperBoundWildcard.LazyUpperBoundWildcard,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType,TypePool.Default.LazyTypeDescription.LazyFieldDescription,TypePool.Default.LazyTypeDescription.LazyMethodDescription,TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyNonGenericReceiverType,TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterDescription,TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType,TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType.TypeArgumentList.AnnotatedTypeVariable,TypePool.Default.LazyTypeDescription.LazyModuleDescription,TypePool.Default.LazyTypeDescription.TokenizedGenericType,TypePool.Default.LazyTypeDescription.TokenizedGenericType.Malformed,TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription,TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.LazyInterface,TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.LazySuperClass,TypePool.Default.WithLazyResolution.LazyTypeDescription,TypePool.LazyFacade.LazyTypeDescription,TypeVariableSource.AbstractBase,TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge,TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget,TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge
- Enclosing interface:
- ModifierReviewable
public static interface ModifierReviewable.OfByteCodeElement extends ModifierReviewable
A modifier reviewable for aByteCodeElement, i.e. a type, a field or a method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.description.ModifierReviewable
ModifierReviewable.AbstractBase, ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForModuleDescription, ModifierReviewable.ForModuleRequirement, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration, ModifierReviewable.OfMandatable
-
-
Field Summary
-
Fields inherited from interface net.bytebuddy.description.ModifierReviewable
EMPTY_MASK
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OwnershipgetOwnership()Return's this byte code element's ownership.VisibilitygetVisibility()Returns this byte code element's visibility.booleanisDeprecated()Specifies if the modifier described by this object represents the deprecated flag.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.-
Methods inherited from interface net.bytebuddy.description.ModifierReviewable
getModifiers, getSyntheticState, isFinal, isSynthetic
-
-
-
-
Method Detail
-
isPublic
boolean isPublic()
Specifies if the modifier described by this object ispublic.- Returns:
trueif the modifier described by this object ispublic.
-
isProtected
boolean isProtected()
Specifies if the modifier described by this object isprotected.- Returns:
trueif the modifier described by this object isprotected.
-
isPackagePrivate
boolean isPackagePrivate()
Specifies if the modifier described by this object is package private.- Returns:
trueif the modifier described by this object is package private.
-
isPrivate
boolean isPrivate()
Specifies if the modifier described by this object isprivate.- Returns:
trueif the modifier described by this object isprivate.
-
isStatic
boolean isStatic()
Specifies if the modifier described by this object isstatic.- Returns:
trueif the modifier described by this object isstatic.
-
isDeprecated
boolean isDeprecated()
Specifies if the modifier described by this object represents the deprecated flag.- Returns:
trueif the modifier described by this object represents the deprecated flag.
-
getOwnership
Ownership getOwnership()
Return's this byte code element's ownership.- Returns:
- This byte code element's ownership.
-
getVisibility
Visibility getVisibility()
Returns this byte code element's visibility.- Returns:
- This byte code element's visibility.
-
-