org.datanucleus.enhancer.bcel.metadata
Class BCELMember

java.lang.Object
  extended by 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.
 
Method Summary
 int getAccessFlags()
           
 org.apache.bcel.classfile.Attribute[] getAttributes()
           
 java.lang.String getName()
           
 org.apache.bcel.generic.Type getType()
           
 boolean isFinal()
           
 boolean isMethod()
           
 boolean isPrivate()
           
 boolean isProtected()
           
 boolean isPublic()
           
 boolean isStatic()
           
 boolean isSynthetic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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.