org.datanucleus.enhancer.bcel.metadata
Class BCELMember
java.lang.Object
org.datanucleus.enhancer.bcel.metadata.BCELMember
public class BCELMember
- extends java.lang.Object
Wrapper to represent a BCEL Field or BCEL Method in a single class.
- Version:
- $Revision: 1.1 $
|
Constructor Summary |
BCELMember(org.apache.bcel.classfile.Field field)
Constructor for BCEL Field. |
BCELMember(org.apache.bcel.classfile.Method method)
Constructor for BCEL Method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BCELMember
public BCELMember(org.apache.bcel.classfile.Field field)
- Constructor for BCEL Field.
- Parameters:
field -
BCELMember
public BCELMember(org.apache.bcel.classfile.Method method)
- Constructor for BCEL Method.
- Parameters:
method -
getType
public org.apache.bcel.generic.Type getType()
getName
public java.lang.String getName()
- Returns:
- If this instance wraps a BCEL Method, returns the full getter name (getX or isX)
getAttributes
public org.apache.bcel.classfile.Attribute[] getAttributes()
getAccessFlags
public int getAccessFlags()
isSynthetic
public boolean isSynthetic()
isFinal
public boolean isFinal()
isPrivate
public boolean isPrivate()
isProtected
public boolean isProtected()
isPublic
public boolean isPublic()
isStatic
public boolean isStatic()
isMethod
public boolean isMethod()
Copyright © 2009. All Rights Reserved.