Class FieldGenOrMethodGen

java.lang.Object
org.apache.bcel.classfile.AccessFlags
org.apache.bcel.generic.FieldGenOrMethodGen
All Implemented Interfaces:
Cloneable, NamedAndTyped
Direct Known Subclasses:
FieldGen, MethodGen

public abstract class FieldGenOrMethodGen extends AccessFlags implements NamedAndTyped, Cloneable
Super class for FieldGen and MethodGen objects, since they have some methods in common!
  • Field Details

    • name

      @Deprecated protected String name
      Deprecated.
      (since 6.0) will be made private; do not access directly, use getter/setter
    • type

      @Deprecated protected Type type
      Deprecated.
      (since 6.0) will be made private; do not access directly, use getter/setter
    • cp

      Deprecated.
      (since 6.0) will be made private; do not access directly, use getter/setter
  • Constructor Details

    • FieldGenOrMethodGen

      protected FieldGenOrMethodGen()
      Constructs a FieldGenOrMethodGen.
    • FieldGenOrMethodGen

      protected FieldGenOrMethodGen(int accessFlags)
      Constructs a FieldGenOrMethodGen.
      Parameters:
      accessFlags - the access flags.
      Since:
      6.0
  • Method Details