public interface ByteCodeElement extends ModifierReviewable, DeclaredInType, AnnotatedElement
ModifierReviewable.AbstractModifierReviewable
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor()
Returns the descriptor of this byte code element.
|
String |
getGenericSignature()
Returns the generic signature of this byte code element.
|
String |
getInternalName()
Returns the internal internalName of this byte code element.
|
String |
getName()
Returns the internalName of this byte code element.
|
boolean |
isVisibleTo(TypeDescription typeDescription)
Checks if this element is visible from a given type.
|
getModifiers, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
getDeclaringType
getDeclaredAnnotations
String getName()
String getInternalName()
String getDescriptor()
String getGenericSignature()
null
if this element is not generic.boolean isVisibleTo(TypeDescription typeDescription)
typeDescription
- The type which is checked for its access of this element.true
if this element is visible for typeDescription
.Copyright © 2014. All rights reserved.