|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.javassist.CtMember
public abstract class CtMember
An instance of CtMember represents a field, a constructor,
or a method.
| Method Summary | |
|---|---|
abstract byte[] |
getAttribute(java.lang.String name)
Obtains an attribute with the given name. |
CompileTimeClass |
getDeclaringClass()
Returns the class that declares this member. |
abstract int |
getModifiers()
Obtains the modifiers of the member. |
abstract java.lang.String |
getName()
Obtains the name of the member. |
abstract void |
setAttribute(java.lang.String name,
byte[] data)
Adds an attribute. |
abstract void |
setModifiers(int mod)
Sets the encoded modifiers of the member. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public CompileTimeClass getDeclaringClass()
public abstract int getModifiers()
javassist.Modifier.Modifierpublic abstract void setModifiers(int mod)
Modifierpublic abstract java.lang.String getName()
public abstract byte[] getAttribute(java.lang.String name)
name - attribute name
public abstract void setAttribute(java.lang.String name,
byte[] data)
name - attribute namedata - attribute value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||