Package | Description |
---|---|
oracle.jdeveloper.engine |
Modifier and Type | Method and Description |
---|---|
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) |
MethodInfo |
ClassEngine.addMethod(MethodInfo mi)
Create a new method from the specified methodInfo on the context class.
|
MethodInfo |
ClassEngine.addMethod(MethodInfo mi, MethodInfo prevMi)
Create a new method from the specified methodInfo on the context class.
|
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) |
MethodInfo |
ClassEngine.findMethod(java.lang.String name, java.util.List params) |
MethodInfo[] |
ClassEngine.getConstructorMethods(java.util.Set ignoreClasses, boolean useCache) |
MethodInfo[] |
ClassEngine.getMethods(boolean publicOnly, java.util.Set ignoreClasses)
If method info caching is enabled, returns a cached copy for subsequent calls to getMethodInfos().
|
MethodInfo[] |
ClassEngine.getMethods(boolean publicOnly, java.util.Set ignoreClasses, boolean useCache) |
MethodInfo |
FieldInfo.makeGetter() |
MethodInfo |
FieldInfo.makeGetter(java.lang.String fieldName, java.lang.String fieldType) |
MethodInfo |
FieldInfo.makeSetter() |
MethodInfo |
FieldInfo.makeSetter(java.lang.String fieldName, java.lang.String fieldType) |
static MethodInfo |
MethodEngine.removeReader(ClassEngine classEngine, FieldInfo fi) |
static MethodInfo |
MethodEngine.removeWriter(ClassEngine classEngine, FieldInfo fi) |
static MethodInfo |
MethodEngine.updateMethod(ClassEngine classEngine, MethodInfo oldMethodInfo, MethodInfo newMethodInfo)
All arguments must be provided (not null).
|
MethodInfo |
ClassEngine.updateMethod(MethodInfo oldMi, MethodInfo newMi)
Update a method on the context class
|
Modifier and Type | Method and Description |
---|---|
static void |
MethodEngine.addDefaultImpl(MethodInfo mi, SourceFile srcFile, SourceMethod srcMethod)
Add a default method body to a source method, enough to satisfy the compiler.
|
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) |
MethodInfo |
ClassEngine.addMethod(MethodInfo mi)
Create a new method from the specified methodInfo on the context class.
|
MethodInfo |
ClassEngine.addMethod(MethodInfo mi, MethodInfo prevMi)
Create a new method from the specified methodInfo on the context class.
|
protected void |
MethodInfo.copyToImpl(MethodInfo copy) |
static boolean |
MethodEngine.doesSourceMethodExist(MethodInfo methodInfo, SourceClass srcClass)
Iterates thru the methods existing within the SourceClass and compares them one by one to the new method that we plan to add.
|
protected boolean |
MethodInfo.equalsImpl(MethodInfo methodInfo) |
static void |
EngineUtils.expandTypes(SourceFile srcFile, MethodInfo methodInfo) |
static boolean |
MethodEngine.removeMethod(ClassEngine classEngine, MethodInfo mi) |
void |
ClassEngine.removeMethod(MethodInfo mi)
Remove a method from the context class
|
static MethodInfo |
MethodEngine.updateMethod(ClassEngine classEngine, MethodInfo oldMethodInfo, MethodInfo newMethodInfo)
All arguments must be provided (not null).
|
MethodInfo |
ClassEngine.updateMethod(MethodInfo oldMi, MethodInfo newMi)
Update a method on the context class
|
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.
|
Constructor and Description |
---|
MethodInfo(MethodInfo mi)
Copy Constructor -------------------------------------------------------------------------
|