public class BytecodeAdapterService extends Object implements SourceAdapterService<String,CtMethod,CtField,Annotation>
| Modifier and Type | Field and Description |
|---|---|
protected SingletonProvider<ClassPool> |
classPool |
| Constructor and Description |
|---|
BytecodeAdapterService() |
BytecodeAdapterService(ClassPool pool) |
| Modifier and Type | Method and Description |
|---|---|
protected ClassLoader |
getClassLoader() |
protected URL[] |
getScanUrls() |
IsAnnotation |
toAnnotation(Annotation type) |
IsClass |
toClass(String binaryName) |
IsField |
toField(CtField type) |
IsMethod |
toMethod(CtMethod type) |
IsType[] |
toTypes(CtClass[] parameterTypes) |
protected final SingletonProvider<ClassPool> classPool
public BytecodeAdapterService()
public BytecodeAdapterService(ClassPool pool)
protected URL[] getScanUrls()
public IsClass toClass(String binaryName)
toClass in interface SourceAdapterService<String,CtMethod,CtField,Annotation>protected ClassLoader getClassLoader()
public IsMethod toMethod(CtMethod type)
toMethod in interface SourceAdapterService<String,CtMethod,CtField,Annotation>public IsField toField(CtField type)
toField in interface SourceAdapterService<String,CtMethod,CtField,Annotation>public IsAnnotation toAnnotation(Annotation type)
toAnnotation in interface SourceAdapterService<String,CtMethod,CtField,Annotation>Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.