public class ReflectionClassCreator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARRAY |
static java.lang.String |
GET_PREFIX |
static java.lang.String |
NAME_OF_CLASS |
static java.lang.String |
NEW_LINE
Constant for the line break which is used by the operating system.
|
static java.lang.String |
SET_PREFIX |
Constructor and Description |
---|
ReflectionClassCreator() |
Modifier and Type | Method and Description |
---|---|
void |
addSort(Sort s)
Constructors, setter-, getter-methods will be created for the added sorts.
|
void |
addSort(java.lang.String s)
Constructors, setter-, getter-methods will be created for the added sorts.
|
static java.lang.String |
cleanTypeName(java.lang.String s)
Takes a string representing a type e.g.
|
java.lang.StringBuffer |
createClass(boolean staticClass)
Creates the RFL.java file, that provides setter and getter methods using the reflection API
as well as object creation functions based on the objenesis library.
|
public static final java.lang.String NEW_LINE
Do not use \n
!
public static final java.lang.String NAME_OF_CLASS
public static final java.lang.String ARRAY
public static final java.lang.String SET_PREFIX
public static final java.lang.String GET_PREFIX
public java.lang.StringBuffer createClass(boolean staticClass)
public void addSort(Sort s)
public void addSort(java.lang.String s)
public static java.lang.String cleanTypeName(java.lang.String s)
Copyright © 2003-2019 The KeY-Project.