public class ClassInfoProvider
extends java.lang.Object
| Constructor and Description |
|---|
ClassInfoProvider(ClassProvider classProvider) |
| Modifier and Type | Method and Description |
|---|---|
ClassProvider |
getClassProvider() |
ClassInfo |
of(java.lang.Class<?> clazz)
Get the
ClassInfo of a class. |
ClassInfo |
of(org.objectweb.asm.tree.ClassNode classNode)
Get the
ClassInfo of a class node. |
ClassInfo |
of(java.lang.String className)
Get the
ClassInfo of a class by its name. |
public ClassInfoProvider(ClassProvider classProvider)
public ClassProvider getClassProvider()
public ClassInfo of(java.lang.String className) throws java.lang.ClassNotFoundException
ClassInfo of a class by its name.ClassProvider if it is not already cached.className - The name of the classjava.lang.ClassNotFoundException - If the class could not be foundof(ClassNode)public ClassInfo of(java.lang.Class<?> clazz)
ClassInfo of a class.clazz - The class