Skip navigation links
A B C D E F G I L M N O P S T U V 

A

AccessFlag - Class in net.caseif.beret.wrapper.synthetic
Represents a flag containing one or more access modifiers.
AccessFlag(AccessFlag.AccessTarget, byte, byte) - Constructor for class net.caseif.beret.wrapper.synthetic.AccessFlag
Constructs a new access flag from the given bitmask.
AccessFlag.AccessTarget - Enum in net.caseif.beret.wrapper.synthetic
Represents a construct which may have access flags applied to it.
AccessFlag.ClassFlag - Enum in net.caseif.beret.wrapper.synthetic
Represents a flag applying to a class.
AccessFlag.FieldFlag - Enum in net.caseif.beret.wrapper.synthetic
Represents a flag applying to a field.
AccessFlag.MethodFlag - Enum in net.caseif.beret.wrapper.synthetic
Represents a flag applying to a method.
asUtf8(byte[]) - Static method in class net.caseif.beret.Util
 
AttributeStructure - Class in net.caseif.beret.structures
Represents a structure containing an attribute (a name and raw byte data).
AttributeStructure(ClassInfo, String, byte[]) - Constructor for class net.caseif.beret.structures.AttributeStructure

B

Beret - Class in net.caseif.beret
Beret Extraordinary Reverse Engineering Toolkit.
Beret() - Constructor for class net.caseif.beret.Beret
 
BytecodeAgent - Class in net.caseif.beret
Agent to assist with the decompilation of bytecode.
BytecodeAgent() - Constructor for class net.caseif.beret.BytecodeAgent
 
bytesToHex(byte[]) - Static method in class net.caseif.beret.Util
 
bytesToInt(byte, byte, byte, byte) - Static method in class net.caseif.beret.Util
 
bytesToInt(byte[]) - Static method in class net.caseif.beret.Util
 
bytesToShort(byte, byte) - Static method in class net.caseif.beret.Util
 
bytesToShort(byte[]) - Static method in class net.caseif.beret.Util
 
bytesToUint(byte, byte, byte, byte) - Static method in class net.caseif.beret.Util
 
bytesToUint(byte[]) - Static method in class net.caseif.beret.Util
 
bytesToUshort(byte, byte) - Static method in class net.caseif.beret.Util
 
bytesToUshort(byte[]) - Static method in class net.caseif.beret.Util
 

C

ClassInfo - Class in net.caseif.beret.wrapper
Represents information about a class file.
ClassInfo(InputStream) - Constructor for class net.caseif.beret.wrapper.ClassInfo
Loads a class file from the given InputStream.
CodeStructure - Class in net.caseif.beret.structures
Represents a Code attribute in a method.
CodeStructure(MethodInfo, String, byte[]) - Constructor for class net.caseif.beret.structures.CodeStructure
Creates a new CodeStructure with the given name and content.
ConstantStructure - Class in net.caseif.beret.structures
Represents a structure containing a constant value.
ConstantStructure(byte, int) - Constructor for class net.caseif.beret.structures.ConstantStructure
Creates a new ConstantStructure with a type inferred from the given byte tag and the given length.
ConstantStructure(byte) - Constructor for class net.caseif.beret.structures.ConstantStructure
Creates a new ConstantStructure with a type and length inferred from the given byte tag.
ConstantStructure.StructureType - Enum in net.caseif.beret.structures
Represents a particular type of ConstantStructure.

D

decompile(MethodInfo) - Static method in class net.caseif.beret.BytecodeAgent
Decompiles the bytecode of the given method, with each array element representing a line of code.
decompile() - Method in class net.caseif.beret.DecompileAgent
Prints a representation of this DecompileAgent's class in Java code.
DecompileAgent - Class in net.caseif.beret
Agent for handling decompilation of raw class data to Java code.
DecompileAgent(ClassInfo) - Constructor for class net.caseif.beret.DecompileAgent
Consructs a new DecompileAgent from the given ClassInfo.
dump(OutputStream) - Method in class net.caseif.beret.wrapper.ClassInfo
Dumps a textual representation of this ClassInfo to the given OutputStream.

E

ExceptionHandler - Class in net.caseif.beret.wrapper.synthetic
Represents an exception handler within a method.
ExceptionHandler(MethodInfo, int, int, int, String) - Constructor for class net.caseif.beret.wrapper.synthetic.ExceptionHandler
Instantiates a new ExceptionHandler with the given information.

F

FieldInfo - Class in net.caseif.beret.wrapper
Contains information regarding a specific field.
FieldInfo(ClassInfo, byte[]) - Constructor for class net.caseif.beret.wrapper.FieldInfo
Loads information about a field from the given ConstantStructure.
fromByte(byte) - Static method in enum net.caseif.beret.Opcode
 
fromTag(byte) - Static method in enum net.caseif.beret.structures.ConstantStructure.StructureType
Gets the ConstantStructure.StructureType associated with the given byte tag.

G

getAccess() - Method in class net.caseif.beret.wrapper.FieldInfo
Gets the access modifiers of this field.
getAccess() - Method in class net.caseif.beret.wrapper.MethodInfo
Gets the access modifiers of this method.
getAccessModifiers() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets this class's access modifiers.
getAdditionalBytes() - Method in enum net.caseif.beret.Opcode
Returns the number of additional bytes which follow this Opcode.
getAttrFromName(AttributeStructure[], String) - Static method in class net.caseif.beret.Util
 
getAttributes() - Method in class net.caseif.beret.structures.CodeStructure
Returns an array containing this CodeStructure's defined attributes.
getAttributes() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets this class's attributes.
getAttributes() - Method in class net.caseif.beret.wrapper.FieldInfo
Gets the AttributeStructures associated with this FieldInfo instance.
getAttributes() - Method in class net.caseif.beret.wrapper.MethodInfo
Gets the AttributeStructures associated with this MethodInfo instance.
getBaseName() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets the unqualified name of this class.
getByteCode() - Method in enum net.caseif.beret.Opcode
Returns the byte associated with this Opcode.
getByteOffset() - Method in class net.caseif.beret.wrapper.synthetic.Instruction
 
getBytes() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets the bytes comprising this class.
getCatchType() - Method in class net.caseif.beret.wrapper.synthetic.ExceptionHandler
 
getClassSignature() - Method in class net.caseif.beret.DecompileAgent
 
getCode() - Method in class net.caseif.beret.structures.CodeStructure
Returns an array containing Instructions defined by this CodeStructure.
getConstantPool() - Method in class net.caseif.beret.wrapper.ClassInfo
Returns this class's constant pool.
getDescriptor() - Method in class net.caseif.beret.wrapper.FieldInfo
Gets the descriptor associated with this FieldInfo instance.
getDescriptor() - Method in class net.caseif.beret.wrapper.MethodInfo
Gets the descriptor associated with this MethodInfo instance.
getEndIndex() - Method in class net.caseif.beret.wrapper.synthetic.ExceptionHandler
 
getExceptionHandlers() - Method in class net.caseif.beret.structures.CodeStructure
Returns an array containing this CodeStructure's ExceptionHandlers.
getExtraBytes() - Method in class net.caseif.beret.wrapper.synthetic.Instruction
 
getFields() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets this class's field pool.
getFieldSignatures() - Method in class net.caseif.beret.DecompileAgent
 
getFlags() - Method in class net.caseif.beret.wrapper.synthetic.AccessFlag
Gets all access flags set by this AccessFlag.
getFromPool(int) - Method in class net.caseif.beret.wrapper.ClassInfo
 
getFromPool(byte[]) - Method in class net.caseif.beret.wrapper.ClassInfo
 
getHandlerStartIndex() - Method in class net.caseif.beret.wrapper.synthetic.ExceptionHandler
 
getInfo() - Method in class net.caseif.beret.structures.AttributeStructure
Gets the raw data of this AttributeStructure.
getInfo() - Method in class net.caseif.beret.structures.ConstantStructure
Gets the content of this ConstantStructure.
getLength() - Method in class net.caseif.beret.structures.ConstantStructure
Gets the length in bytes of this ConstantStructure's content.
getLength() - Method in enum net.caseif.beret.structures.ConstantStructure.StructureType
Gets the expected length of structures of this type.
getMajorVersion() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets this class's major version.
getMaxLocalSize() - Method in class net.caseif.beret.structures.CodeStructure
Returns the maximum number of local variables during this CodeStructure's execution.
getMaxStackSize() - Method in class net.caseif.beret.structures.CodeStructure
Returns the maximum depth of the stack during this CodeStructure's execution.
getMethod() - Method in class net.caseif.beret.structures.CodeStructure
Returns the parent method for this CodeStructure.
getMethods() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets this class's field pool.
getMethodSignatures() - Method in class net.caseif.beret.DecompileAgent
 
getMinorVersion() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets this class's major version.
getName() - Method in class net.caseif.beret.structures.AttributeStructure
Gets the name of this AttributeStructure.
getName() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets the qualified name of this class.
getName() - Method in class net.caseif.beret.wrapper.FieldInfo
Gets the name associated with this FieldInfo instance.
getName() - Method in class net.caseif.beret.wrapper.MethodInfo
Gets the name associated with this MethodInfo instance.
getOpcode() - Method in class net.caseif.beret.wrapper.synthetic.Instruction
 
getPackage() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets the package of this class.
getParams() - Method in class net.caseif.beret.wrapper.MethodInfo
Gets the type parameters associated with this MethodInfo instance.
getParent() - Method in class net.caseif.beret.structures.AttributeStructure
Returns the parent ClassInfo instance.
getParent() - Method in class net.caseif.beret.wrapper.FieldInfo
Gets the parent ClassInfo instance.
getParent() - Method in class net.caseif.beret.wrapper.MethodInfo
Gets the parent ClassInfo instance.
getParent() - Method in class net.caseif.beret.wrapper.synthetic.ExceptionHandler
 
getRequiredImport() - Method in class net.caseif.beret.TypeDescriptor
 
getReturnType() - Method in class net.caseif.beret.wrapper.MethodInfo
Gets the return type associated with this MethodInfo instance.
getStartIndex() - Method in class net.caseif.beret.wrapper.synthetic.ExceptionHandler
 
getStringFromPool(int) - Method in class net.caseif.beret.wrapper.ClassInfo
 
getStringFromPool(byte[]) - Method in class net.caseif.beret.wrapper.ClassInfo
 
getSuperName() - Method in class net.caseif.beret.wrapper.ClassInfo
Gets the qualified name of this class's superclass.
getTag() - Method in enum net.caseif.beret.structures.ConstantStructure.StructureType
Gets the tag internally associated with this structure type.
getTargetType() - Method in class net.caseif.beret.wrapper.synthetic.AccessFlag
Gets the structure type which these flags apply to.
getType() - Method in class net.caseif.beret.structures.ConstantStructure
Gets the type of this ConstantStructure.

I

Instruction - Class in net.caseif.beret.wrapper.synthetic
Represents an instruction consisting of an opcode and any extra bytes.
Instruction(Opcode, int, byte...) - Constructor for class net.caseif.beret.wrapper.synthetic.Instruction
 
isPresentInSource() - Method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.ClassFlag
 
isPresentInSource() - Method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.FieldFlag
 
isPresentInSource() - Method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.MethodFlag
 

L

loadClassInfo() - Method in class net.caseif.beret.wrapper.ClassInfo
Loads the class and superclass info.
loadFields() - Method in class net.caseif.beret.wrapper.ClassInfo
 
loadMethods() - Method in class net.caseif.beret.wrapper.ClassInfo
 

M

main(String[]) - Static method in class net.caseif.beret.Beret
 
MethodInfo - Class in net.caseif.beret.wrapper
Contains information regarding a specific method.
MethodInfo(ClassInfo, byte[]) - Constructor for class net.caseif.beret.wrapper.MethodInfo
Loads information about a method from the given byte array.

N

net.caseif.beret - package net.caseif.beret
 
net.caseif.beret.structures - package net.caseif.beret.structures
 
net.caseif.beret.wrapper - package net.caseif.beret.wrapper
 
net.caseif.beret.wrapper.synthetic - package net.caseif.beret.wrapper.synthetic
 

O

Opcode - Enum in net.caseif.beret
An enumeration of all Java bytecode opcodes.

P

printUsage() - Static method in class net.caseif.beret.Beret
 

S

setInfo(byte[]) - Method in class net.caseif.beret.structures.ConstantStructure
Sets the content of this ConstantStructure.
setTabSize(int) - Static method in class net.caseif.beret.Util
 

T

tab(int) - Static method in class net.caseif.beret.Util
 
toString() - Method in class net.caseif.beret.TypeDescriptor
 
toString() - Method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.ClassFlag
 
toString() - Method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.FieldFlag
 
toString() - Method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.MethodFlag
 
TypeDescriptor - Class in net.caseif.beret
 
TypeDescriptor(String) - Constructor for class net.caseif.beret.TypeDescriptor
Constructs a new descriptor object from the given string.

U

Util - Class in net.caseif.beret
A basic utility class.
Util() - Constructor for class net.caseif.beret.Util
 

V

valueOf(String) - Static method in enum net.caseif.beret.Opcode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.caseif.beret.structures.ConstantStructure.StructureType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.AccessTarget
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.ClassFlag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.FieldFlag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.MethodFlag
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.caseif.beret.Opcode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.caseif.beret.structures.ConstantStructure.StructureType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.AccessTarget
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.ClassFlag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.FieldFlag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.caseif.beret.wrapper.synthetic.AccessFlag.MethodFlag
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G I L M N O P S T U V 
Skip navigation links