public class ASMModParser
extends java.lang.Object
Constructor and Description |
---|
ASMModParser(java.io.InputStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationArray(java.lang.String name) |
void |
addAnnotationEnumProperty(java.lang.String name,
java.lang.String desc,
java.lang.String value) |
void |
addAnnotationProperty(java.lang.String key,
java.lang.Object value) |
void |
addSubAnnotation(java.lang.String name,
java.lang.String desc) |
void |
beginNewTypeName(java.lang.String typeQName,
int classVersion,
java.lang.String superClassQName,
java.lang.String[] interfaces) |
void |
endArray() |
void |
endSubAnnotation() |
java.util.LinkedList<ModAnnotation> |
getAnnotations() |
org.objectweb.asm.Type |
getASMSuperType() |
org.objectweb.asm.Type |
getASMType() |
java.lang.String |
getBaseModProperties() |
int |
getClassVersion() |
boolean |
isBaseMod(java.util.List<java.lang.String> rememberedTypes) |
void |
sendToTable(ASMDataTable table,
ModCandidate candidate) |
void |
setBaseModProperties(java.lang.String foundProperties) |
void |
startClassAnnotation(java.lang.String annotationName) |
void |
startFieldAnnotation(java.lang.String fieldName,
java.lang.String annotationName) |
void |
startMethodAnnotation(java.lang.String methodName,
java.lang.String methodDescriptor,
java.lang.String annotationName) |
java.lang.String |
toString() |
void |
validate() |
public ASMModParser(java.io.InputStream stream) throws java.io.IOException
java.io.IOException
public void beginNewTypeName(java.lang.String typeQName, int classVersion, java.lang.String superClassQName, java.lang.String[] interfaces)
public void startClassAnnotation(java.lang.String annotationName)
public void addAnnotationProperty(java.lang.String key, java.lang.Object value)
public void startFieldAnnotation(java.lang.String fieldName, java.lang.String annotationName)
public java.lang.String toString()
toString
in class java.lang.Object
public org.objectweb.asm.Type getASMType()
public int getClassVersion()
public org.objectweb.asm.Type getASMSuperType()
public java.util.LinkedList<ModAnnotation> getAnnotations()
public void validate()
public boolean isBaseMod(java.util.List<java.lang.String> rememberedTypes)
public void setBaseModProperties(java.lang.String foundProperties)
public java.lang.String getBaseModProperties()
public void sendToTable(ASMDataTable table, ModCandidate candidate)
public void addAnnotationArray(java.lang.String name)
public void addAnnotationEnumProperty(java.lang.String name, java.lang.String desc, java.lang.String value)
public void endArray()
public void addSubAnnotation(java.lang.String name, java.lang.String desc)
public void endSubAnnotation()
public void startMethodAnnotation(java.lang.String methodName, java.lang.String methodDescriptor, java.lang.String annotationName)