| java.lang.Object gnu.bytecode.Type gnu.bytecode.ObjectType gnu.bytecode.ClassType gnu.expr.PairClassType
PairClassType | public class PairClassType extends ClassType (Code) | | A class type implemented as a pair of an interface and a class.
This is how true multiple inheritance can be implemented.
|
PairClassType | public PairClassType()(Code) | | |
PairClassType | PairClassType(Class reflectInterface, Class reflectInstanceClass)(Code) | | |
Methods inherited from gnu.bytecode.ClassType | public Field addField()(Code)(Java Doc) public Field addField(String name)(Code)(Java Doc) final public Field addField(String name, Type type)(Code)(Java Doc) final public Field addField(String name, Type type, int flags)(Code)(Java Doc) public void addFields()(Code)(Java Doc) public void addInterface(ClassType newInterface)(Code)(Java Doc) public Method addMethod(String name)(Code)(Java Doc) public Method addMethod(String name, int flags)(Code)(Java Doc) public Method addMethod(String name, Type[] arg_types, Type return_type, int flags)(Code)(Java Doc) public Method addMethod(String name, int flags, Type[] arg_types, Type return_type)(Code)(Java Doc) public Method addMethod(String name, String signature, int flags)(Code)(Java Doc) public void addMethods()(Code)(Java Doc) public void addMethods(Class clas)(Code)(Java Doc) public int compare(Type other)(Code)(Java Doc) final public int countMethods(Filter filter, int searchSupers)(Code)(Java Doc) public void doFixups()(Code)(Java Doc) public void emitCoerceFromObject(CodeAttr code)(Code)(Java Doc) public int getArity()(Code)(Java Doc) final public Attribute getAttributes()(Code)(Java Doc) final public CpoolEntry getConstant(int i)(Code)(Java Doc) final public ConstantPool getConstants()(Code)(Java Doc) public Field getDeclaredField(String name)(Code)(Java Doc) public Method getDeclaredMethod(String name, Type[] arg_types, Type return_type)(Code)(Java Doc) public Method getDeclaredMethod(String name, Type[] arg_types)(Code)(Java Doc) public Method getDeclaredMethod(String name, int argCount)(Code)(Java Doc) public Method getDeclaredMethods()(Code)(Java Doc) public Field getField(String name)(Code)(Java Doc) final public int getFieldCount()(Code)(Java Doc) final public Field getFields()(Code)(Java Doc) public ClassType[] getInterfaces()(Code)(Java Doc) public Method[] getMatchingMethods(String name, Type[] paramTypes, int flags)(Code)(Java Doc) public Method getMethod(String name, Type[] arg_types)(Code)(Java Doc) public Method getMethod(String name, Type[] arg_types, boolean concrete)(Code)(Java Doc) final public int getMethodCount()(Code)(Java Doc) final public Method getMethods()(Code)(Java Doc) public Method[] getMethods(Filter filter, boolean searchSupers)(Code)(Java Doc) public Method[] getMethods(Filter filter, int searchSupers)(Code)(Java Doc) public int getMethods(Filter filter, int searchSupers, Method[] result, int offset)(Code)(Java Doc) public int getMethods(Filter filter, int searchSupers, Vector result, String context)(Code)(Java Doc) final public int getModifiers()(Code)(Java Doc) public String getPackageName()(Code)(Java Doc) public TypeVariable[] getParameters()(Code)(Java Doc) public ClassType getSuperclass()(Code)(Java Doc) final public boolean implementsInterface(ClassType iface)(Code)(Java Doc) public boolean isAssignableTo(Type other)(Code)(Java Doc) final public boolean isFinal()(Code)(Java Doc) final public boolean isInterface()(Code)(Java Doc) final public boolean isSubclass(ClassType other)(Code)(Java Doc) public static ClassType make(String name)(Code)(Java Doc) public static ClassType make(String name, ClassType superClass)(Code)(Java Doc) final public void setAttributes(Attribute attributes)(Code)(Java Doc) final public void setInterface(boolean val)(Code)(Java Doc) public void setInterfaces(ClassType[] interfaces)(Code)(Java Doc) final public void setModifiers(int flags)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setSourceFile(String name)(Code)(Java Doc) public void setSuper(String name)(Code)(Java Doc) public void setSuper(ClassType superClass)(Code)(Java Doc) public Type thisType()(Code)(Java Doc) public String toString()(Code)(Java Doc) public static byte[] to_utf8(String str)(Code)(Java Doc) public byte[] writeToArray() throws java.io.IOException(Code)(Java Doc) public void writeToFile(String filename) throws java.io.IOException(Code)(Java Doc) public void writeToFile(File file) throws java.io.IOException(Code)(Java Doc) public void writeToFile() throws java.io.IOException(Code)(Java Doc) public void writeToStream(OutputStream stream) throws java.io.IOException(Code)(Java Doc)
|
Methods inherited from gnu.bytecode.Type | abstract public Object coerceFromObject(Object obj)(Code)(Java Doc) public Object coerceToObject(Object obj)(Code)(Java Doc) abstract public int compare(Type other)(Code)(Java Doc) public void emitCoerceFrom(Type fromType, CodeAttr code)(Code)(Java Doc) public void emitCoerceFromObject(CodeAttr code)(Code)(Java Doc) public void emitCoerceTo(Type toType, CodeAttr code)(Code)(Java Doc) public void emitCoerceToObject(CodeAttr code)(Code)(Java Doc) public void emitIsInstance(CodeAttr code)(Code)(Java Doc) public static void flushTypeChanges()(Code)(Java Doc) public static void free(java.util.Map t)(Code)(Java Doc) public static Type fullSignatureToType(String sig, int[] offset)(Code)(Java Doc) public Type getImplementationType()(Code)(Java Doc) public String getName()(Code)(Java Doc) public java.lang.Class getReflectClass()(Code)(Java Doc) final public String getSignature()(Code)(Java Doc) final public int getSize()(Code)(Java Doc) public static Type getType(String name)(Code)(Java Doc) public boolean isArray()(Code)(Java Doc) abstract public boolean isAssignableTo(Type other)(Code)(Java Doc) public boolean isInstance(Object obj)(Code)(Java Doc) public static boolean isMoreSpecific(Type[] t1, Type[] t2)(Code)(Java Doc) public boolean isSubtype(Type other)(Code)(Java Doc) public static boolean isValidJavaTypeName(String name)(Code)(Java Doc) final public boolean isVoid()(Code)(Java Doc) public static Type lookupType(String name)(Code)(Java Doc) public static Type lowestCommonSuperType(Type t1, Type t2)(Code)(Java Doc) public static Type make(Class reflectClass)(Code)(Java Doc) public Type promote()(Code)(Java Doc) public static void registerTypeForClass(Class clas, Type type)(Code)(Java Doc) public static void registerTypeForName(String name, Type type)(Code)(Java Doc) public static void reset()(Code)(Java Doc) protected void setSignature(String sig)(Code)(Java Doc) public static int signatureLength(String sig, int pos)(Code)(Java Doc) public static int signatureLength(String sig)(Code)(Java Doc) public static String signatureToName(String sig)(Code)(Java Doc) public static PrimType signatureToPrimitive(char sig)(Code)(Java Doc) public static Type signatureToType(String sig, int off, int len)(Code)(Java Doc) public static Type signatureToType(String sig)(Code)(Java Doc) protected static int swappedCompareResult(int code)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|