| Package | Description |
|---|---|
| net.openhft.chronicle.wire | |
| net.openhft.chronicle.wire.utils |
| Modifier and Type | Field and Description |
|---|---|
protected SourceCodeFormatter |
AbstractClassGenerator.sourceCode |
| Modifier and Type | Method and Description |
|---|---|
protected SourceCodeFormatter |
GenerateMethodDelegate.getDelegate(SourceCodeFormatter mainCode,
Method method)
Appends the delegate to the main code.
|
protected SourceCodeFormatter |
AbstractClassGenerator.withLineNumber(SourceCodeFormatter mainCode)
Appends the line number and stack trace for better traceability in the generated code.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenerateMethodBridge.generateConstructors(SourceCodeFormatter mainCode) |
protected void |
AbstractClassGenerator.generateConstructors(SourceCodeFormatter mainCode)
Generates constructors for the class.
|
protected void |
GenerateMethodWriter2.generateConstructors(SourceCodeFormatter mainCode) |
protected void |
GenerateMethodDelegate.generateConstructors(SourceCodeFormatter mainCode) |
protected void |
AbstractClassGenerator.generateEnd(SourceCodeFormatter mainCode)
Stub method for subclasses to implement end code generation, if necessary.
|
protected void |
GenerateMethodWriter2.generateEnd(SourceCodeFormatter mainCode) |
protected void |
GenerateMethodBridge.generateFields(SourceCodeFormatter mainCode) |
protected void |
AbstractClassGenerator.generateFields(SourceCodeFormatter mainCode)
Generates fields for the class.
|
protected void |
GenerateMethodWriter2.generateFields(SourceCodeFormatter mainCode) |
protected void |
GenerateMethodDelegate.generateFields(SourceCodeFormatter mainCode) |
protected void |
AbstractClassGenerator.generateMainCode(SourceCodeFormatter mainCode)
Generates the main code for the class, including fields, constructors, methods, and more.
|
protected void |
AbstractClassGenerator.generateMethod(Method method,
SourceCodeFormatter mainCode)
Generates the implementation for a specific method.
|
protected void |
GenerateMethodDelegate.generateMethod(Method method,
SourceCodeFormatter mainCode) |
protected void |
GenerateMethodBridge.generateMethod(Method method,
StringBuilder params,
List<String> paramList,
SourceCodeFormatter mainCode)
This method is responsible for generating the code for a given method.
|
protected abstract void |
AbstractClassGenerator.generateMethod(Method method,
StringBuilder params,
List<String> paramList,
SourceCodeFormatter mainCode)
Abstract method for subclasses to implement the body of the generated method.
|
protected void |
GenerateMethodWriter2.generateMethod(Method method,
StringBuilder params,
List<String> paramList,
SourceCodeFormatter mainCode) |
protected void |
GenerateMethodDelegate.generateMethod(Method method,
StringBuilder params,
List<String> paramList,
SourceCodeFormatter mainCode) |
protected SourceCodeFormatter |
GenerateMethodDelegate.getDelegate(SourceCodeFormatter mainCode,
Method method)
Appends the delegate to the main code.
|
protected SourceCodeFormatter |
AbstractClassGenerator.withLineNumber(SourceCodeFormatter mainCode)
Appends the line number and stack trace for better traceability in the generated code.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JavaSourceCodeFormatter
A formatter specifically tailored for formatting Java source code.
|
class |
JsonSourceCodeFormatter
This is the JsonSourceCodeFormatter class, extending the functionality of the
SourceCodeFormatter class. |
| Modifier and Type | Method and Description |
|---|---|
SourceCodeFormatter |
SourceCodeFormatter.append(boolean flag)
Appends the provided boolean value to the formatted string.
|
SourceCodeFormatter |
SourceCodeFormatter.append(char c) |
SourceCodeFormatter |
SourceCodeFormatter.append(CharSequence csq) |
SourceCodeFormatter |
SourceCodeFormatter.append(CharSequence csq,
int start,
int end) |
SourceCodeFormatter |
SourceCodeFormatter.append(double d)
Appends the provided double value to the formatted string.
|
SourceCodeFormatter |
JavaSourceCodeFormatter.append(long i) |
SourceCodeFormatter |
SourceCodeFormatter.append(long i)
Appends the provided long value to the formatted string.
|
<Stringable> |
SourceCodeFormatter.append(Stringable stringable)
Appends the provided object's string representation to the formatted string.
|
Copyright © 2024. All rights reserved.