Package com.google.gag.instrument.info
Class ClassInfo
- java.lang.Object
-
- com.google.gag.instrument.info.ClassInfo
-
public class ClassInfo extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClassInfo.Maker
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAccess()AnnoInfogetAnnoFor(org.objectweb.asm.Type annoType)java.util.List<AnnoInfo>getAnnos()java.util.List<FieldInfo>getFields()java.util.List<java.lang.String>getInterfaces()MethodInfogetMethod(java.lang.String name, java.lang.String desc)java.util.List<MethodInfo>getMethods()java.lang.StringgetName()java.lang.StringgetSig()java.lang.StringgetSuperName()intgetVersion()booleanhasAnno(org.objectweb.asm.Type annoType)Returnstrueif an annotation of the given type is found at the class level in the class represented by thisClassInfo.booleanhasAnnoAnywhere(org.objectweb.asm.Type annoType)Returnstrueif an annotation of the specified type is found anywhere in the class represented by thisClassInfo.booleanhasLocalVarAnnoAnywhere(org.objectweb.asm.Type annoType)booleanhasMethodAnnoAnywhere(org.objectweb.asm.Type annoType)java.lang.StringtoFormattedString()java.lang.StringtoString()
-
-
-
Method Detail
-
getVersion
public int getVersion()
-
getAccess
public int getAccess()
-
getName
public java.lang.String getName()
-
getSig
public java.lang.String getSig()
-
getSuperName
public java.lang.String getSuperName()
-
getInterfaces
public java.util.List<java.lang.String> getInterfaces()
-
getAnnos
public java.util.List<AnnoInfo> getAnnos()
-
hasAnnoAnywhere
public boolean hasAnnoAnywhere(org.objectweb.asm.Type annoType)
Returnstrueif an annotation of the specified type is found anywhere in the class represented by thisClassInfo.
-
hasMethodAnnoAnywhere
public boolean hasMethodAnnoAnywhere(org.objectweb.asm.Type annoType)
-
hasLocalVarAnnoAnywhere
public boolean hasLocalVarAnnoAnywhere(org.objectweb.asm.Type annoType)
-
hasAnno
public boolean hasAnno(org.objectweb.asm.Type annoType)
Returnstrueif an annotation of the given type is found at the class level in the class represented by thisClassInfo.
-
getAnnoFor
public AnnoInfo getAnnoFor(org.objectweb.asm.Type annoType)
-
getFields
public java.util.List<FieldInfo> getFields()
-
getMethod
public MethodInfo getMethod(java.lang.String name, java.lang.String desc)
-
getMethods
public java.util.List<MethodInfo> getMethods()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toFormattedString
public java.lang.String toFormattedString()
-
-