org.aspectj.ajdt.internal.compiler
Class ClassFileBasedByteCodeProvider

java.lang.Object
  extended by org.aspectj.ajdt.internal.compiler.ClassFileBasedByteCodeProvider
All Implemented Interfaces:
UnwovenClassFileWithThirdPartyManagedBytecode.IByteCodeProvider

public class ClassFileBasedByteCodeProvider
extends java.lang.Object
implements UnwovenClassFileWithThirdPartyManagedBytecode.IByteCodeProvider

Author:
colyer Adaptor for ClassFiles that lets them act as the bytecode repository for UnwovenClassFiles (asking a ClassFile for its bytes causes a copy to be made).

Constructor Summary
ClassFileBasedByteCodeProvider(org.aspectj.org.eclipse.jdt.internal.compiler.ClassFile cf)
           
 
Method Summary
 byte[] getBytes()
           
static UnwovenClassFile[] unwovenClassFilesFor(org.aspectj.org.eclipse.jdt.internal.compiler.CompilationResult result, IOutputClassFileNameProvider nameProvider)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFileBasedByteCodeProvider

public ClassFileBasedByteCodeProvider(org.aspectj.org.eclipse.jdt.internal.compiler.ClassFile cf)
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface UnwovenClassFileWithThirdPartyManagedBytecode.IByteCodeProvider

unwovenClassFilesFor

public static UnwovenClassFile[] unwovenClassFilesFor(org.aspectj.org.eclipse.jdt.internal.compiler.CompilationResult result,
                                                      IOutputClassFileNameProvider nameProvider)