Klasse AjClassFile

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.ClassFile
org.aspectj.ajdt.internal.compiler.AjClassFile
Alle implementierten Schnittstellen:
TypeConstants, TypeIds

public class AjClassFile extends ClassFile
Autor:
colyer XXX lightweight subclass of ClassFile that only genuinely supports fileName and getBytes operations. This nasty hack enables us to keep the rest of the implementation much simpler.
  • Konstruktordetails

    • AjClassFile

      public AjClassFile(char[] fileName, byte[] byteCodes)
  • Methodendetails

    • fileName

      public char[] fileName()
      Beschreibung aus Klasse kopiert: ClassFile
      INTERNAL USE-ONLY This methods returns a char[] representing the file name of the receiver
      Setzt außer Kraft:
      fileName in Klasse ClassFile
      Gibt zurück:
      char[]
    • getBytes

      public byte[] getBytes()
      Beschreibung aus Klasse kopiert: ClassFile
      EXTERNAL API Answer the actual bytes of the class file This method encodes the receiver structure into a byte array which is the content of the classfile. Returns the byte array that represents the encoded structure of the receiver.
      Setzt außer Kraft:
      getBytes in Klasse ClassFile
      Gibt zurück:
      byte[]