Package | Description |
---|---|
oracle.jdeveloper.engine |
Modifier and Type | Method and Description |
---|---|
static FieldInfo |
FieldEngine.addField(ClassEngine classEngine, FieldInfo fi)
Creates a new class-level field member from the FieldInfo.
|
static FieldInfo |
FieldEngine.addField(ClassEngine classEngine, FieldInfo fi, FieldInfo prevFi)
Creates a new class-level field member from the FieldInfo.
|
static MethodInfo |
MethodEngine.addMethod(ClassEngine classEngine, MethodInfo mi)
Create a new method from the specified methodInfo on the class managed by the specified classEngine.
|
static MethodInfo |
MethodEngine.addMethod(ClassEngine classEngine, MethodInfo mi, MethodInfo prevMi) |
static MethodInfo |
MethodEngine.addReader(ClassEngine classEngine, FieldInfo fi, java.lang.String getter, int modifiers) |
static MethodInfo |
MethodEngine.addWriter(ClassEngine classEngine, FieldInfo fi, java.lang.String setter, int modifiers) |
static JavaMethod |
MethodEngine.findMethod(ClassEngine classEngine, java.lang.String methodName, java.util.List params)
Search for the named method w/ the specified params in a source file.
|
static SourceMethod |
MethodEngine.findSourceMethod(ClassEngine classEngine, java.lang.String methodName, java.util.List params)
Search for the named method w/ the specified params in a source file.
|
static boolean |
FieldEngine.removeField(ClassEngine classEngine, java.lang.String name) |
static boolean |
MethodEngine.removeMethod(ClassEngine classEngine, MethodInfo mi) |
static boolean |
MethodEngine.removeMethod(ClassEngine classEngine, java.lang.String methodName)
Convenience shortcut method.
|
static MethodInfo |
MethodEngine.removeReader(ClassEngine classEngine, FieldInfo fi) |
static MethodInfo |
MethodEngine.removeWriter(ClassEngine classEngine, FieldInfo fi) |
static FieldInfo |
FieldEngine.updateField(ClassEngine classEngine, FieldInfo fieldInfoOld, FieldInfo fieldInfoNew) |
static MethodInfo |
MethodEngine.updateMethod(ClassEngine classEngine, MethodInfo oldMethodInfo, MethodInfo newMethodInfo)
All arguments must be provided (not null).
|
static boolean |
MethodEngine.updateParamInMethod(ClassEngine classEngine, SourceMethod meth, java.lang.String oldParamType, java.lang.String oldParamName, java.lang.String newParamType, java.lang.String newParamName) |
static void |
MethodEngine.updateReader(ClassEngine classEngine, MethodInfo omi, java.lang.String oldFieldName, MethodInfo nmi, java.lang.String newFieldName)
Update the reader (getter) method signature, and if its method body was generated by addReader() and has not been modified by the user, update it as well.
|
static void |
MethodEngine.updateWriter(ClassEngine classEngine, MethodInfo omi, java.lang.String oldFieldName, MethodInfo nmi, java.lang.String newFieldName)
Update the writer (setter) method signature, and if its method body was generated by addWriter() and has not been modified by the user, update it as well.
|