T - The type of the executable.protected abstract static class MethodDescription.InDefinedShape.AbstractBase.ForLoadedExecutable<T extends AnnotatedElement> extends MethodDescription.InDefinedShape.AbstractBase
java.lang.reflect.Executable.MethodDescription.InDefinedShape.AbstractBase.Executable, MethodDescription.InDefinedShape.AbstractBase.ForLoadedExecutable<T extends AnnotatedElement>MethodDescription.InDefinedShape.AbstractBaseMethodDescription.ForLoadedConstructor, MethodDescription.ForLoadedMethod, MethodDescription.InDefinedShape, MethodDescription.InGenericShape, MethodDescription.Latent, MethodDescription.SignatureToken, MethodDescription.Token, MethodDescription.TypeSubstituting, MethodDescription.TypeTokenTypeVariableSource.Visitor<T>ByteCodeElement.Member, ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumerationDeclaredByType.WithMandatoryDeclarationAnnotationSource.Empty, AnnotationSource.ExplicitNamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName| Modifier and Type | Field and Description |
|---|---|
protected T |
executable
The represented
java.lang.reflect.Executable. |
protected static MethodDescription.InDefinedShape.AbstractBase.Executable |
EXECUTABLE
A dispatcher for interacting with
java.lang.reflect.Executable. |
CONSTRUCTOR_INTERNAL_NAME, TYPE_INITIALIZER_INTERNAL_NAME, TYPE_INITIALIZER_MODIFIER, UNDEFINEDNON_GENERIC_SIGNATUREEMPTY_MASKEMPTY_NAME, NO_NAME| Modifier | Constructor and Description |
|---|---|
protected |
ForLoadedExecutable(T executable)
Creates a new method description for a loaded executable.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription.Generic |
getReceiverType()
Returns this methods receiver type.
|
asDefinedaccept, asSignatureToken, asToken, asTypeToken, equals, getActualModifiers, getActualModifiers, getActualModifiers, getActualName, getDefaultValue, getDescriptor, getEnclosingSource, getGenericSignature, getName, getStackSize, hashCode, isAccessibleTo, isBridgeCompatible, isConstantBootstrap, isConstantBootstrap, isConstructor, isDefaultMethod, isDefaultValue, isDefaultValue, isGenerified, isInferrable, isInvokableOn, isInvokeBootstrap, isInvokeBootstrap, isMethod, isSpecializableFor, isTypeInitializer, isVirtual, isVisibleTo, represents, represents, toGenericString, toSafeString, toStringfindExpectedVariable, findVariablegetEnumerationState, getFieldManifestation, getFieldPersistence, getMethodManifestation, getMethodStrictness, getOwnership, getParameterManifestation, getProvisioningState, getSynchronizationState, getSyntheticState, getTypeManifestation, getVisibility, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaringType, getParametersasSignatureToken, asTypeToken, getActualModifiers, getActualModifiers, getActualModifiers, getDefaultValue, getDefaultValue, getExceptionTypes, getReturnType, getStackSize, isBridgeCompatible, isConstantBootstrap, isConstantBootstrap, isConstructor, isDefaultMethod, isDefaultValue, isDefaultValue, isInvokableOn, isInvokeBootstrap, isInvokeBootstrap, isMethod, isSpecializableFor, isTypeInitializer, isVirtual, represents, representsaccept, findExpectedVariable, findVariable, getEnclosingSource, getTypeVariables, isGenerified, isInferrablegetMethodManifestation, getMethodStrictness, getSynchronizationState, isBridge, isNative, isStrict, isSynchronized, isVarArgsisAbstractisAccessibleTo, isVisibleTogetDescriptor, getGenericSignaturegetOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticgetModifiers, getSyntheticState, isFinal, isSyntheticgetDeclaredAnnotationstoGenericStringgetInternalName, getNamegetActualNameasTokenprotected static final MethodDescription.InDefinedShape.AbstractBase.Executable EXECUTABLE
java.lang.reflect.Executable.protected final T extends AnnotatedElement executable
java.lang.reflect.Executable.protected ForLoadedExecutable(T executable)
executable - The represented java.lang.reflect.Executable.public TypeDescription.Generic getReceiverType()
static methods
where null is returned. Other than a receiver type that is provided by the Java reflection
API, Byte Buddy is capable of extracting annotations on type parameters of receiver types when
directly accessing a class file. Therefore, a receiver type might be parameterized.getReceiverType in interface MethodDescriptiongetReceiverType in class MethodDescription.InDefinedShape.AbstractBaseCopyright © 2014–2023. All rights reserved.