protected static class TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge extends MethodDescription.InDefinedShape.AbstractBase
MethodDescription.InDefinedShape.AbstractBase
MethodDescription.ForLoadedConstructor, MethodDescription.ForLoadedMethod, MethodDescription.InDefinedShape, MethodDescription.InGenericShape, MethodDescription.Latent, MethodDescription.SignatureToken, MethodDescription.Token, MethodDescription.TypeSubstituting, MethodDescription.TypeToken
TypeVariableSource.Visitor<T>
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>
NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
CONSTRUCTOR_INTERNAL_NAME, TYPE_INITIALIZER_INTERNAL_NAME, TYPE_INITIALIZER_MODIFIER, UNDEFINED
EMPTY_MASK
NON_GENERIC_SIGNATURE
EMPTY_NAME, NO_NAME
Modifier | Constructor and Description |
---|---|
protected |
VisibilityBridge(TypeDescription instrumentedType,
MethodDescription bridgeTarget)
Creates a new visibility bridge.
|
Modifier and Type | Method and Description |
---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeDescription |
getDeclaringType()
Returns the declaring type of this instance.
|
AnnotationValue<?,?> |
getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
TypeList.Generic |
getExceptionTypes()
Returns the exception types of the described method.
|
String |
getInternalName()
Returns the internal internalName of this byte code element.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
ParameterList<ParameterDescription.InDefinedShape> |
getParameters()
Returns a list of this method's parameters.
|
TypeDescription.Generic |
getReturnType()
Returns the return type of the described method.
|
TypeList.Generic |
getTypeVariables()
Returns the type variables that are declared by this element.
|
asDefined, getReceiverType
accept, asSignatureToken, asToken, asTypeToken, equals, getActualModifiers, getActualModifiers, getActualModifiers, getActualName, getDefaultValue, getDescriptor, getEnclosingSource, getGenericSignature, getName, getStackSize, hashCode, isBootstrap, isBootstrap, isBridgeCompatible, isConstructor, isDefaultMethod, isDefaultValue, isDefaultValue, isGenericDeclaration, isInvokableOn, isMethod, isSpecializableFor, isTypeInitializer, isVirtual, isVisibleTo, represents, represents, toGenericString, toString
findVariable
getEnumerationState, getFieldManifestation, 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, isVolatile
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asSignatureToken, asTypeToken, getActualModifiers, getActualModifiers, getActualModifiers, getDefaultValue, getStackSize, isBootstrap, isBootstrap, isBridgeCompatible, isConstructor, isDefaultMethod, isDefaultValue, isDefaultValue, isInvokableOn, isMethod, isSpecializableFor, isTypeInitializer, isVirtual, represents, represents
accept, findVariable, getEnclosingSource, isGenericDeclaration
getMethodManifestation, getMethodStrictness, getSynchronizationState, isBridge, isNative, isStrict, isSynchronized, isVarArgs
isAbstract
getOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
getSyntheticState, isFinal, isSynthetic
toGenericString
getDescriptor, getGenericSignature, isVisibleTo
getName
getActualName
asToken
protected VisibilityBridge(TypeDescription instrumentedType, MethodDescription bridgeTarget)
instrumentedType
- The instrumented type.bridgeTarget
- The method that is the target of the bridge.public TypeDescription getDeclaringType()
DeclaredByType
null
if no such type exists.public ParameterList<ParameterDescription.InDefinedShape> getParameters()
MethodDescription
public TypeDescription.Generic getReturnType()
MethodDescription
public TypeList.Generic getExceptionTypes()
MethodDescription
public AnnotationValue<?,?> getDefaultValue()
MethodDescription
null
if no default value is defined for this method.null
if no default value is defined for this method.public TypeList.Generic getTypeVariables()
TypeVariableSource
public AnnotationList getDeclaredAnnotations()
AnnotatedCodeElement
public int getModifiers()
ModifierReviewable
public String getInternalName()
NamedElement.WithRuntimeName
Copyright © 2014–2016. All rights reserved.