- Fixed IC2 derps when checking if output is empty

- Added GregTech 1.7.2 support
- Added doc comments to the GregTech classes
- Fixed a couple GregTech functions
This commit is contained in:
Stan Hebben committed 2014-07-09 22:50:15 +02:00
1 parent 7390f94404
commit 52f92dcfd4
70 files changed
+3649 -270

No files matched your search

@@ -7,6 +7,7 @@
package stanhebben.zenscript.docs;
import com.sun.javadoc.MethodDoc;
import com.sun.javadoc.Type;
import java.util.HashMap;
import java.util.Map;
import static stanhebben.zenscript.docs.ZenOperatorDocType.*;
@@ -20,31 +21,49 @@ public class ZenOperatorDoc {
static {
TYPES = new HashMap<String, ZenOperatorDocType>();
TYPES.put("stanhebben.zenscript.annotations.OperatorType.ADD", ADD);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.SUB", SUB);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MUL", MUL);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.DIV", DIV);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MOD", MOD);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.CAT", CAT);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.OR", OR);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.AND", AND);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.XOR", XOR);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.NEG", NEG);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.NOT", NOT);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.INDEXSET", INDEXSET);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.INDEXGET", INDEXGET);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.RANGE", RANGE);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.CONTAINS", CONTAINS);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.COMPARE", COMPARE);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MEMBERGETTER", MEMBERGETTER);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.MEMBERSETTER", MEMBERSETTER);
TYPES.put("stanhebben.zenscript.annotations.OperatorType.EQUALS", EQUALS);
}
private final String operator;
private final MethodDoc method;
private final Type[] types;
public ZenOperatorDoc(String operator, MethodDoc method) {
public ZenOperatorDoc(String operator, MethodDoc method, Type[] types) {
this.operator = operator;
this.method = method;
this.types = types;
}
public String getOperator() {
return operator;
}
public Type[] getTypes() {
return types;
}
public ZenOperatorDocType getOperatorType() {
return TYPES.get(operator);
}
public MethodDoc getMethod() {
return method;
}