public class DeprecationUtil
extends java.lang.Object
Constructor and Description |
---|
DeprecationUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isDeprecated(JvmAnnotationTarget jvmAnnotationTarget) |
static boolean |
isDeprecated(JvmType type) |
static boolean |
isDeprecatedAnnotation(JvmAnnotationType jvmAnnotationType) |
static boolean |
isDeprecatedMember(JvmMember member) |
static boolean |
isTransitivelyDeprecatedMember(JvmMember member)
Returns
true if the given member is contained in a deprecated member. |
public static boolean isDeprecated(JvmAnnotationTarget jvmAnnotationTarget)
public static boolean isDeprecatedAnnotation(JvmAnnotationType jvmAnnotationType)
public static boolean isDeprecated(JvmType type)
public static boolean isDeprecatedMember(JvmMember member)
public static boolean isTransitivelyDeprecatedMember(JvmMember member)
true
if the given member is contained in a deprecated member.member
- the member to be checked