public abstract static class MethodDescription.AbstractMethodDescription extends ModifierReviewable.AbstractModifierReviewable implements MethodDescription
MethodDescription.AbstractMethodDescription, MethodDescription.ForLoadedConstructor, MethodDescription.ForLoadedMethod, MethodDescription.LatentModifierReviewable.AbstractModifierReviewableCONSTRUCTOR_INTERNAL_NAME| Constructor and Description |
|---|
AbstractMethodDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getDescriptor()
Returns the descriptor of this byte code element.
|
int |
getParameterOffset(int parameterIndex)
Returns the offset of the parameter at
parameterIndex on the described method's local variable array. |
int |
getStackSize()
Returns the size of the local variable array that is required for this method, i.e.
|
String |
getUniqueSignature()
Returns the unique signature of a byte code method.
|
int |
hashCode() |
boolean |
isOverridable()
Verifies if this method description represents an overridable method.
|
boolean |
isVisibleTo(TypeDescription typeDescription)
Checks if this element is visible from a given type.
|
isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetExceptionTypes, getParameterAnnotations, getParameterTypes, getReturnType, isConstructor, represents, representsgetModifiers, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatilegetInternalName, getNamegetDeclaringTypegetAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresentpublic String getUniqueSignature()
ByteCodeMethodgetUniqueSignature in interface ByteCodeMethodpublic int getStackSize()
MethodDescriptionthis if this method represented a non-static
method.getStackSize in interface MethodDescriptionpublic String getDescriptor()
ByteCodeElementgetDescriptor in interface ByteCodeElementpublic boolean isVisibleTo(TypeDescription typeDescription)
ByteCodeElementisVisibleTo in interface ByteCodeElementtypeDescription - The type which is checked for its access of this element.true if this element is visible for typeDescription.public boolean isOverridable()
MethodDescriptionisOverridable in interface MethodDescriptiontrue if this method description represents an overridable method.public int getParameterOffset(int parameterIndex)
MethodDescriptionparameterIndex on the described method's local variable array.getParameterOffset in interface MethodDescriptionparameterIndex - The parameter index of interest.Copyright © 2014. All rights reserved.