public interface ByteCodeElement extends NamedElement, ModifierReviewable, DeclaredInType, AnnotatedCodeElement
ModifierReviewable.AbstractModifierReviewableEMPTY_NAMEEMPTY_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, getSourceCodeNamegetModifiers, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatilegetDeclaringTypegetDeclaredAnnotationsString 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.