List of usage examples for org.objectweb.asm.tree ClassNode superName
String superName
To view the source code for org.objectweb.asm.tree ClassNode superName.
Click Source Link
From source file:com.dank.analysis.impl.definition.object.ObjectDefinition.java
License:GNU General Public License
@Override public ClassSpec specify(ClassNode cn) { return cn.superName(Hook.DUAL_NODE.getInternalName()) && cn.fieldCount(boolean.class) > 3 && cn.fieldCount(int.class) > 22 ? new ClassSpec(Hook.OBJECT_DEFINITION, cn) : null; }
From source file:com.dank.analysis.impl.landscape.DynamicObject.java
License:GNU General Public License
@Override public ClassSpec specify(ClassNode cn) { return cn.superName(Hook.ENTITY.getInternalName()) && cn.fieldCount(int.class) > 7 && cn.fieldCount() < 11 && cn.fieldCount(boolean.class) == 0 ? new ClassSpec(Hook.DYNAMIC_OBJECT, cn) : null; }
From source file:com.dank.analysis.impl.landscape.GraphicsStub.java
License:GNU General Public License
@Override public ClassSpec specify(ClassNode cn) { return cn.superName(Hook.ENTITY.getInternalName()) && cn.fieldCount(int.class) > 7 && cn.fieldCount() < 11 && cn.fieldCount(boolean.class) > 0 ? new ClassSpec(Hook.GRAPHICS_STUB, cn) : null; }
From source file:com.dank.analysis.impl.landscape.GroundItem.java
License:GNU General Public License
@Override public ClassSpec specify(ClassNode cn) { return cn.fieldCount() == 2 && cn.fieldCount(int.class) == 2 && cn.superName(Hook.ENTITY.getInternalName()) ? new ClassSpec(Hook.GROUND_ITEM, cn) : null;//from ww w.ja va2 s.co m }
From source file:com.dank.analysis.impl.misc.RuneScript.java
License:GNU General Public License
@Override public ClassSpec specify(ClassNode cn) { return cn.superName(Hook.DUAL_NODE.getInternalName()) && cn.fieldCount(int.class) == 4 && cn.fieldCount(int[].class) == 2 && cn.fieldCount(String[].class) == 1 ? new ClassSpec(Hook.RUNESCRIPT, cn) : null;//from w ww.j av a 2 s . c o m }
From source file:com.dank.analysis.impl.node.ItemTable.java
License:GNU General Public License
@Override public ClassSpec specify(ClassNode cn) { return cn.fieldCount() == 2 && cn.fieldCount(int[].class) == 2 && cn.superName(Hook.NODE.getInternalName()) ? new ClassSpec(Hook.ITEM_TABLE, cn) : null;// ww w .j a va 2 s . com }