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