public class NullSourceCodeGenerator extends Object implements SourceCodeGenerator
Constructor and Description |
---|
NullSourceCodeGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
appendField(javassist.CtField field,
String value)
Appends the given class field and value to the temporary output.
|
void |
appendMethod(javassist.CtMethod method,
String code)
Appends the given method and source code body to the temporary output.
|
void |
outputGeneratedSource(javassist.CtClass ctClass)
Generates the full source code for the given class and outputs it.
|
public void appendField(javassist.CtField field, String value)
SourceCodeGenerator
appendField
in interface SourceCodeGenerator
public void appendMethod(javassist.CtMethod method, String code)
SourceCodeGenerator
appendMethod
in interface SourceCodeGenerator
public void outputGeneratedSource(javassist.CtClass ctClass)
SourceCodeGenerator
outputGeneratedSource
in interface SourceCodeGenerator
Copyright © 2019 OpenDaylight. All rights reserved.