public interface ByteCodeElement extends NamedElement, ModifierReviewable, DeclaredInType, AnnotatedElement
ModifierReviewable.AbstractModifierReviewable
EMPTY_NAME
EMPTY_MASK
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.
|
boolean |
isVisibleTo(TypeDescription typeDescription)
Checks if this element is visible from a given type.
|
getInternalName, getName, getSourceCodeName
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 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–2015. All rights reserved.