jbet
Class MethodInfo
java.lang.Object
jbet.MethodSignature
jbet.MethodInfo
public class MethodInfo
- extends MethodSignature
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JbetLogFacility
public static java.lang.String JbetLogFacility
attrHints
public java.util.Vector attrHints
maxStack
public int maxStack
maxLocals
public int maxLocals
code
public Snippit code
codeAttrHints
public java.util.Vector codeAttrHints
invalid_limits
public boolean invalid_limits
synthetic
public boolean synthetic
deprecated
public boolean deprecated
cr
public ClassInfo cr
ACC_PUBLIC
public static final int ACC_PUBLIC
- See Also:
- Constant Field Values
ACC_PRIVATE
public static final int ACC_PRIVATE
- See Also:
- Constant Field Values
ACC_PROTECTED
public static final int ACC_PROTECTED
- See Also:
- Constant Field Values
ACC_STATIC
public static final int ACC_STATIC
- See Also:
- Constant Field Values
ACC_FINAL
public static final int ACC_FINAL
- See Also:
- Constant Field Values
ACC_SYNCHRONIZED
public static final int ACC_SYNCHRONIZED
- See Also:
- Constant Field Values
ACC_NATIVE
public static final int ACC_NATIVE
- See Also:
- Constant Field Values
ACC_ABSTRACT
public static final int ACC_ABSTRACT
- See Also:
- Constant Field Values
ACC_STRICT
public static final int ACC_STRICT
- See Also:
- Constant Field Values
ACC_ALL_MFLAGS
public static final int ACC_ALL_MFLAGS
- See Also:
- Constant Field Values
MethodInfo
public MethodInfo()
MethodInfo
public MethodInfo(Lexer lexer)
throws ClassFileException
- Throws:
ClassFileException
MethodInfo
public MethodInfo(java.lang.String n,
Descriptor d,
int acc)
MethodInfo
public MethodInfo(java.lang.String n,
Descriptor d)
MethodInfo
public MethodInfo(MethodInfo mi)
MethodInfo
public MethodInfo(java.io.DataInputStream dataIn,
jbet.ConstantPool constantPool)
throws java.io.IOException,
ClassFileException
- Throws:
java.io.IOException
ClassFileException
classrep
public java.lang.Object classrep()
- Overrides:
classrep
in class MethodSignature
resolve
public MethodInfo resolve()
throws ClassFileException
- Overrides:
resolve
in class MethodSignature
- Throws:
ClassFileException
disassemble
public void disassemble(LineWriter out,
java.lang.String prefix)
checkAccess
public boolean checkAccess(java.lang.String fromPackage)
checkAccess
public boolean checkAccess(ClassInfo cr2)
throws ClassFileException
- Throws:
ClassFileException
resolveConstants
public void resolveConstants()
removeDataFlow
public void removeDataFlow()
printout
public void printout(LineWriter out,
boolean summarize)
printout
public void printout(LineWriter out,
boolean summarize,
boolean printlines,
boolean printlocals,
boolean printcounts)
isStatic
public boolean isStatic()
isVirtual
public boolean isVirtual()
isNative
public boolean isNative()
addLinesAsPCs
public void addLinesAsPCs()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
qualifiedName
public java.lang.String qualifiedName()
calls
public boolean calls(MethodInfo other)
icalls
public boolean icalls(MethodInfo other)
recursive
public boolean recursive()
allCalls
public InternSet allCalls()
printCalls
public void printCalls(LineWriter out)
isOverridden
public boolean isOverridden()
throws ClassFileException
- Throws:
ClassFileException