|
| static String | capitalizeString (final String string) |
| | Converts first letter to upper case. More...
|
| |
| static String | decapitalizeString (final String string) |
| | Converts first letter to lower case. More...
|
| |
| static String | packageAsPath (final String packageName) |
| | Given a java package name (e.g., "java.lang"), return the package as a directory path (i.e., "java/lang"). More...
|
| |
| static void | emitAutogeneratedWarning (final PrintWriter w, final Object generator, final String customLine) |
| |
| static void | emitJavaHeaders (final PrintWriter w, final String packageName, final String className, final boolean isClassNotInterface, final List< String > imports, final String[] accessModifiers, final String[] interfaces, final String classExtended, final EmissionCallback classDocComment) throws IOException |
| | Emit the opening headers for one java class/interface file. More...
|
| |
Definition at line 45 of file CodeGenUtils.java.
◆ capitalizeString()
| static String com.jogamp.gluegen.CodeGenUtils.capitalizeString |
( |
final String |
string | ) |
|
|
static |
◆ decapitalizeString()
| static String com.jogamp.gluegen.CodeGenUtils.decapitalizeString |
( |
final String |
string | ) |
|
|
static |
◆ emitAutogeneratedWarning()
| static void com.jogamp.gluegen.CodeGenUtils.emitAutogeneratedWarning |
( |
final PrintWriter |
w, |
|
|
final Object |
generator, |
|
|
final String |
customLine |
|
) |
| |
|
static |
- Parameters
-
| generator | the object that is emitting the autogenerated code. If null, the generator will not be mentioned in the warning message. |
| customLine | maybe null |
Definition at line 76 of file CodeGenUtils.java.
◆ emitJavaHeaders()
| static void com.jogamp.gluegen.CodeGenUtils.emitJavaHeaders |
( |
final PrintWriter |
w, |
|
|
final String |
packageName, |
|
|
final String |
className, |
|
|
final boolean |
isClassNotInterface, |
|
|
final List< String > |
imports, |
|
|
final String[] |
accessModifiers, |
|
|
final String[] |
interfaces, |
|
|
final String |
classExtended, |
|
|
final EmissionCallback |
classDocComment |
|
) |
| throws IOException |
|
static |
Emit the opening headers for one java class/interface file.
Definition at line 97 of file CodeGenUtils.java.
◆ packageAsPath()
| static String com.jogamp.gluegen.CodeGenUtils.packageAsPath |
( |
final String |
packageName | ) |
|
|
static |
Given a java package name (e.g., "java.lang"), return the package as a directory path (i.e., "java/lang").
Definition at line 65 of file CodeGenUtils.java.
The documentation for this class was generated from the following file: