|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.enhancer.DefinedClass
public class DefinedClass
This class is used to define class in classloader.
Field Summary | |
---|---|
private byte[] |
bytes
Bytecode of the class. |
private java.lang.String |
className
Name of the class to define. |
Constructor Summary | |
---|---|
DefinedClass(java.lang.String className,
byte[] bytes)
Build a new object with a given class name and the bytecode in an array of bytes. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Equals. |
byte[] |
getBytes()
|
java.lang.String |
getClassName()
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String className
private byte[] bytes
Constructor Detail |
---|
public DefinedClass(java.lang.String className, byte[] bytes)
className
- name of the classbytes
- bytecodeMethod Detail |
---|
public byte[] getBytes()
public java.lang.String getClassName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object to compare
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |