congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FieldGenOrMethodGen.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
org.apache.bcel.generic.FieldGenOrMethodGen

Best Java code snippets using org.apache.bcel.generic.FieldGenOrMethodGen.getName (Showing top 5 results out of 315)

origin: org.apache.bcel/bcel

/**
 * Return string representation close to declaration format,
 * `public static void main(String[]) throws IOException', e.g.
 *
 * @return String representation of the method.
 */
@Override
public final String toString() {
  final String access = Utility.accessToString(super.getAccessFlags());
  String signature = Type.getMethodSignature(super.getType(), arg_types);
  signature = Utility.methodSignatureToString(signature, super.getName(), access, true,
      getLocalVariableTable(super.getConstantPool()));
  final StringBuilder buf = new StringBuilder(signature);
  for (final Attribute a : getAttributes()) {
    if (!((a instanceof Code) || (a instanceof ExceptionTable))) {
      buf.append(" [").append(a).append("]");
    }
  }
  if (throws_vec.size() > 0) {
    for (final String throwsDescriptor : throws_vec) {
      buf.append("\n\t\tthrows ").append(throwsDescriptor);
    }
  }
  return buf.toString();
}
origin: org.apache.xalan/com.springsource.org.apache.xalan

String originalMethodName = getName();
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

String originalMethodName = getName();
origin: org.apache.bcel/bcel

/**
 * Get field object after having set up all necessary values.
 */
public Field getField() {
  final String signature = getSignature();
  final int name_index = super.getConstantPool().addUtf8(super.getName());
  final int signature_index = super.getConstantPool().addUtf8(signature);
  if (value != null) {
    checkType(super.getType());
    final int index = addConstant();
    addAttribute(new ConstantValue(super.getConstantPool().addUtf8("ConstantValue"), 2, index,
        super.getConstantPool().getConstantPool())); // sic
  }
  addAnnotationsAsAttribute(super.getConstantPool());
  return new Field(super.getAccessFlags(), name_index, signature_index, getAttributes(),
      super.getConstantPool().getConstantPool()); // sic
}
origin: org.apache.bcel/bcel

final String signature = getSignature();
final ConstantPoolGen _cp = super.getConstantPool();
final int name_index = _cp.addUtf8(super.getName());
final int signature_index = _cp.addUtf8(signature);
org.apache.bcel.genericFieldGenOrMethodGengetName

Popular methods of FieldGenOrMethodGen

  • getConstantPool
  • getAttributes
  • isSynthetic
  • getAccessFlags
  • getAnnotationEntries
  • getType

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now