public class ASMTreeUtils extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ASMTreeUtils()
Deprecated.
|
@Deprecated protected ASMTreeUtils()
public static List<AnnotationNode> getVisibleAnnotations(Object node)
public static List<AnnotationNode> getInvisibleAnnotations(Object node)
public static void consumeAnnotationNodes(Object asmTreeNode, Consumer<AnnotationNode> consumer)
public static void consumeAnnotationNodes(ClassNode classNode, Consumer<AnnotationNode> consumer)
public static void consumeAnnotationNodes(FieldNode fieldNode, Consumer<AnnotationNode> consumer)
public static void consumeAnnotationNodes(MethodNode methodNode, Consumer<AnnotationNode> consumer)
public static AnnotationNode getAnnotationNode(Object node, Class<?> annotationType)
public static <T> T getAnnotationValue(AnnotationNode annotationNode, String name)
public static <T> T getAnnotationValue(AnnotationNode annotationNode, String name, T defaultValue)
public static <E extends Enum<E>> E getAnnotationEnumValue(Class<E> enumType, AnnotationNode annotationNode, String name)
public static <E extends Enum<E>> E getAnnotationEnumValue(Class<E> enumType, AnnotationNode annotationNode, String name, E defaultValue)
Copyright © 2016. All rights reserved.