|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SourceMethod | |
|---|---|
| oracle.javatools.parser.java.v2 | The parser API. |
| oracle.javatools.parser.java.v2.common | Classes common to model implementations. |
| oracle.javatools.parser.java.v2.model | The parser model API. |
| oracle.javatools.parser.java.v2.util | Various utilities for use with the parser. |
| oracle.jdeveloper.java.util | Public utilities for use with the java model, including the parser. |
| Uses of SourceMethod in oracle.javatools.parser.java.v2 |
|---|
| Methods in oracle.javatools.parser.java.v2 that return SourceMethod | |
|---|---|
SourceMethod |
SourceFactory.createConstructor(SourceFormalParameterList parameters, SourceThrowsClause throwsClause, SourceBlock block)Creates a constructor declaration. |
abstract SourceMethod |
SourceFactory.createConstructor(SourceTypeParameter[] typeParameters, SourceFormalParameterList parameters, SourceThrowsClause throwsClause, SourceBlock block)Creates a constructor declaration. |
abstract SourceMethod |
SourceFactory.createMethod(SourceTypeParameter[] tyParameters, SourceTypeReference returnType, java.lang.String methodName, SourceFormalParameterList parameters, SourceThrowsClause throwsClause, SourceBlock block)Creates a method declaration. |
SourceMethod |
SourceFactory.createMethod(SourceTypeReference returnType, java.lang.String methodName, SourceFormalParameterList parameters, SourceThrowsClause throwsClause, SourceBlock block)Creates a non-generic method declaration. |
| Uses of SourceMethod in oracle.javatools.parser.java.v2.common |
|---|
| Methods in oracle.javatools.parser.java.v2.common that return SourceMethod | |
|---|---|
static SourceMethod |
CommonUtilities.getSourceElement(JavaMethod target, SourceClass searchSpace)Searches for the target method as a member of the search class. |
| Uses of SourceMethod in oracle.javatools.parser.java.v2.model |
|---|
| Fields in oracle.javatools.parser.java.v2.model declared as SourceMethod | |
|---|---|
static SourceMethod[] |
SourceMethod.EMPTY_ARRAY |
| Methods in oracle.javatools.parser.java.v2.model that return SourceMethod | |
|---|---|
SourceMethod |
SourceClass.getSourceConstructor(JavaType[] targetTypes)Gets the matching declared constructor declaration, null if none. |
SourceMethod |
SourceClass.getSourceMethod(java.lang.String name, JavaType[] targetTypes)Gets the matching method declaration, null if none. |
| Uses of SourceMethod in oracle.javatools.parser.java.v2.util |
|---|
| Methods in oracle.javatools.parser.java.v2.util with parameters of type SourceMethod | |
|---|---|
void |
Usages.declareConstructor(SourceMethod s)Declares a constructor. |
void |
Usages.declareMethod(SourceMethod s)Declares a method or a constructor. |
void |
SourceVisitor.whenEnterConstructorDeclaration(SourceMethod sourceMethod) |
void |
SourceVisitor.whenEnterMethodDeclaration(SourceMethod sourceMethod) |
void |
SourceVisitor.whenExitConstructorDeclaration(SourceMethod sourceMethod) |
void |
SourceVisitor.whenExitMethodDeclaration(SourceMethod sourceMethod) |
| Uses of SourceMethod in oracle.jdeveloper.java.util |
|---|
| Methods in oracle.jdeveloper.java.util that return SourceMethod | |
|---|---|
static SourceMethod |
SourceUtils.addConstructor(SourceClass cls, int modifiers)Adds a constructor to the class. |
static SourceMethod |
SourceUtils.addMainMethod(SourceClass cls)Adds (append) a "public static void main( String[] args )" method to the class. |
static SourceMethod |
SourceUtils.addMethod(SourceClass cls, java.lang.String type, java.lang.String name, int modifiers)Adds (append) a method to the class. |
static SourceMethod |
SourceUtils.addMethod(SourceClass cls, java.lang.String type, java.lang.String name, int modifiers, SourceMember sibling, boolean before)Inserts a method into the class by the specified sibling. |
static SourceMethod |
SourceUtils.createConstructor(SourceClass cls, int modifiers)Creates a new constructor. |
static SourceMethod |
SourceUtils.createMainMethod(SourceClass cls)Creates a "public static void main( String[] args )" method. |
static SourceMethod |
SourceUtils.createMethod(SourceClass cls, java.lang.String type, java.lang.String name, int modifiers)Constructs a new method. |
static SourceMethod |
SourceUtils.getDefaultConstructor(SourceClass cls)Fetch the default constructor for this class. |
static SourceMethod |
SourceUtils.getMainMethod(SourceClass cls)Find the main method in the cls. |
static SourceMethod |
SourceUtils.getMethod(SourceClass cls, java.lang.String name, java.lang.String[] paramTypes)Find the method in the cls with the given name and parameter types. |
| Methods in oracle.jdeveloper.java.util with parameters of type SourceMethod | |
|---|---|
static SourceLocalVariable |
SourceUtils.addMethodParameter(SourceMethod method, java.lang.String type, java.lang.String name)Adds (append) a parameter to the method. |
static void |
SourceUtils.addThrows(SourceMethod method, java.lang.String throwName)Adds a (class) type to the throws clause of the method declaration. |
static SourceVariable |
SourceUtils.getMethodParameter(SourceMethod method, int index)Fetch a parameter from the method. |
static void |
SourceUtils.removeThrows(SourceMethod method, java.lang.String throwName)Removes a class (type) from the throws clause of the method declaration. |
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||