Package org.aspectj.apache.bcel.classfile

Examples of org.aspectj.apache.bcel.classfile.SourceFile


    this.superclassname = superclassname;
    this.filename = filename;
    this.modifiers = modifiers;
    this.cpool = cpool;
    if (filename != null) {
      addAttribute(new SourceFile(cpool.addUtf8("SourceFile"), 2, cpool.addUtf8(filename), cpool));
    }
    this.classnameIndex = cpool.addClass(classname);
    this.superclassnameIndex = cpool.addClass(superclassname);
    if (interfacenames != null) {
      for (String interfacename : interfacenames) {
View Full Code Here


    this.access_flags     = access_flags;
    this.cp               = cp;

    // Put everything needed by default into the constant pool and the vectors
    if(file_name != null)
      addAttribute(new SourceFile(cp.addUtf8("SourceFile"), 2,
          cp.addUtf8(file_name), cp.getConstantPool()));

    class_name_index      = cp.addClass(class_name);
    superclass_name_index = cp.addClass(super_class_name);
View Full Code Here

TOP

Related Classes of org.aspectj.apache.bcel.classfile.SourceFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.