| Package | Description | 
|---|---|
| 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.model.expression | The parser model API for expressions. | 
| oracle.javatools.parser.java.v2.util | Various utilities for use with the parser. | 
| oracle.jdeveloper.browse | |
| oracle.jdeveloper.cmt | The Component Model Tool, an API for manipulating Java source code. | 
| oracle.jdeveloper.engine | |
| oracle.jdeveloper.java.legacy | Used for migrating legacy java model code to the current version. | 
| oracle.jdeveloper.webapp.faces | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaMethod | CallerContext. resolveConstructor(JavaType target,
                  JavaType[] argumentTypes)Deprecated. 
 Use resolveConstructor( JavaType, JavaType[], JavaHasType[], JavaType[] ) instead | 
| abstract JavaMethod | CallerContext. resolveConstructor(JavaType target,
                  JavaType[] typeArguments,
                  JavaHasType[] arguments,
                  JavaType[] argumentTypes)Looks up a constructor on the target class. | 
| JavaMethod | CallerContext. resolveMethod(JavaHasType lhs,
             java.lang.String name,
             JavaType[] argumentTypes)Deprecated. 
 Use resolveMethod( JavaHasType, String, JavaType[], JavaHasType[], JavaType[] ) instead | 
| abstract JavaMethod | CallerContext. resolveMethod(JavaHasType lhs,
             java.lang.String name,
             JavaType[] typeArguments,
             JavaHasType[] arguments,
             JavaType[] argumentTypes)Looks up a method. | 
| JavaMethod | CallerContext. resolveMethod(JavaHasType lhs,
             java.lang.String name,
             JavaType[] typeArguments,
             JavaType[] argumentTypes)Deprecated. 
 Use resolveMethod( JavaHasType, String, JavaType[], JavaHasType[], JavaType[] ) instead | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractMethodAn abstract implementation of JavaMethod. | 
| class  | CastedMethodA "casted method" represents a method invocation followed by a type
 cast. | 
| class  | QuickComponentA QuickComponent is a special type of JavaVariable that refers to
 an annotation member (method!). | 
| class  | QuickMethodA lightweight implementation of JavaMethod. | 
| class  | WrapperMethodSkeleton implementation of an object wrapping a method. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected JavaMethod | WrapperMethod. thingThe underlying thing. | 
| Modifier and Type | Method and Description | 
|---|---|
| static JavaMethod | CommonUtilities. createParameterizedMethod(JavaProvider provider,
                         JavaMethod generic,
                         JavaType[] typeArguments) | 
| JavaMethod | WrapperClass. getClinitMethod() | 
| JavaMethod | QuickJavaClass. getClinitMethod() | 
| JavaMethod | AbstractType. getClinitMethod() | 
| JavaMethod | QuickJavaClass. getDeclaredConstructor(JavaType[] parameters) | 
| JavaMethod | AbstractType. getDeclaredConstructor(JavaType[] targetTypes) | 
| static JavaMethod | CommonUtilities. getDeclaredConstructor(JavaType target,
                      JavaType[] targetTypes)Get the declared constructor of 'target' whose parameter
 types match the incoming types. | 
| static JavaMethod | CommonUtilities. getDeclaredMethod(JavaType target,
                 java.lang.String name,
                 JavaType[] targetTypes)Get the declared method of 'target' whose name and parameter
 types match the incoming name and types. | 
| JavaMethod | QuickJavaClass. getDeclaredMethod(java.lang.String name,
                 JavaType[] parameters) | 
| JavaMethod | AbstractType. getDeclaredMethod(java.lang.String name,
                 JavaType[] targetTypes) | 
| static JavaMethod | CommonUtilities. getDeclaredMethodFromUniqueId(JavaClass javaClass,
                             java.lang.String uniqueIdentifier)Given a JavaClass and a unique identifier, find the JavaMethod in the JavaClass
 that has that unique identifier. | 
| static JavaMethod | CommonUtilities. getDeclaredMethodFromUniqueId(JavaFile javaFile,
                             java.lang.String uniqueIdentifier)Given a JavaFile and a unique identifier, find the JavaMethod in the JavaFile
 that has that unique identifier. | 
| static JavaMethod | CommonUtilities. getFunctionalInterfaceMethod(JavaType javaType)IFF the incoming JavaType is a functional interface, return the
 single abstract method of that interface. | 
| JavaMethod | QuickComponent. getMethod() | 
| static JavaMethod | CommonUtilities. getMethod(JavaType target,
         java.lang.String name,
         JavaType[] parameterTypes)Get the first method of the target type with the specified name
 and parameter types. | 
| JavaMethod | QuickJavaClass. getMethod(java.lang.String name,
         JavaType[] parameters) | 
| JavaMethod | AbstractType. getMethod(java.lang.String name,
         JavaType[] targetTypes) | 
| JavaMethod | WrapperMethod. getMethodErasure() | 
| JavaMethod | AbstractMethod. getMethodErasure() | 
| JavaMethod | WrapperMethod. getNonParameterizedMethod() | 
| JavaMethod | QuickMethod. getNonParameterizedMethod() | 
| JavaMethod | AbstractType. getOwningMethod() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Collection<JavaMethod> | WrapperClass. getDeclaredConstructors() | 
| java.util.Collection<JavaMethod> | QuickJavaClass. getDeclaredConstructors() | 
| java.util.Collection<JavaMethod> | ParameterizedClass. getDeclaredConstructors() | 
| java.util.Collection<JavaMethod> | AbstractType. getDeclaredConstructors() | 
| java.util.Collection<JavaMethod> | WrapperClass. getDeclaredMethods() | 
| java.util.Collection<JavaMethod> | QuickJavaClass. getDeclaredMethods() | 
| java.util.Collection<JavaMethod> | ParameterizedClass. getDeclaredMethods() | 
| java.util.Collection<JavaMethod> | AbstractType. getDeclaredMethods() | 
| static java.util.Collection<JavaMethod> | CommonUtilities. getDeclaredMethods(JavaType target,
                  java.lang.String name) | 
| java.util.Collection<JavaMethod> | QuickJavaClass. getDeclaredMethods(java.lang.String name) | 
| java.util.Collection<JavaMethod> | AbstractType. getDeclaredMethods(java.lang.String name) | 
| java.util.Collection<JavaMethod> | QuickJavaClass. getMethods() | 
| java.util.Collection<JavaMethod> | AbstractType. getMethods() | 
| static java.util.Collection<JavaMethod> | CommonUtilities. getMethods(JavaType target)Get all the methods of the incoming target type. | 
| static java.util.Collection<JavaMethod> | CommonUtilities. getMethods(JavaType target,
          java.lang.String name)Get all the methods of the target type with the specified name. | 
| java.util.Collection<JavaMethod> | QuickJavaClass. getMethods(java.lang.String name) | 
| java.util.Collection<JavaMethod> | AbstractType. getMethods(java.lang.String name) | 
| java.util.Collection<JavaMethod> | AbstractMethod. getOverriddenMethods() | 
| java.util.Iterator<JavaMethod> | MethodHierarchy. iterator() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | MethodHierarchy. add(JavaMethod o) | 
| static QuickComponent | QuickComponent. createComponent(JavaMethod method)Creates an annotation component without an assigned value. | 
| static QuickComponent | QuickComponent. createComponent(JavaMethod method,
               java.lang.Object value)Creates an annotation component with the given assigned value. | 
| static JavaMethod | CommonUtilities. createParameterizedMethod(JavaProvider provider,
                         JavaMethod generic,
                         JavaType[] typeArguments) | 
| JavaType | ParameterizedClass. eraseUnresolvedMethodTypeArguments(JavaMethod typeParameterOwner) | 
| static java.lang.String | CommonUtilities. getDescriptor(JavaMethod input)Get the descriptor of the incoming method, which is the pre JDK1.5 way to
 describe methods. | 
| static JavaType[] | CommonUtilities. getParameterTypes(JavaMethod target)Get the parameter types of the incoming method. | 
| static java.lang.String | CommonUtilities. getSignature(JavaMethod input)Get the signature of the incoming method, which is the signature of
 the method declaration. | 
| static SourceMethod | CommonUtilities. getSourceElement(JavaMethod target,
                SourceClass searchSpace)Searches for the target method as a member of the search class. | 
| static java.lang.String | CommonUtilities. getTypeSignature(JavaMethod input)Get the type signature of the incoming method, which is the JDK1.5 and
 higher signature of the usage of a method. | 
| static java.lang.String | CommonUtilities. getUniqueIdentifier(JavaMethod thing)Get a String that uniquely identifies this method. | 
| static boolean | CommonUtilities. hasOverrideCompatibleVisibility(JavaMethod method,
                               JavaMethod otherMethod)Determine if qua visibility method can override the other method. | 
| boolean | AbstractMethod. hasSubsignatureOf(JavaMethod other) | 
| static boolean | CommonUtilities. isParameterizedMethod(JavaMethod method)Find out if the incoming method has bound type arguments, either from
 explicit type arguments, or from inferred type arguments. | 
| static boolean | CommonUtilities. isSameDeclaration(JavaMethod one,
                 JavaMethod two)Determine if two JavaMethods have the same declaration. | 
| static boolean | CommonUtilities. matchMethod(JavaMethod method,
           JavaType[] targetParameterTypes)Determine if the incoming method has parameters with types
 that match the incoming target parameter types. | 
| static boolean | CommonUtilities. methodThrowsMoreCheckedExceptions(JavaMethod subject,
                                 JavaMethod target)Determine if the subject method throws more checked Exceptions than the target method. | 
| static CastedMethod | CastedMethod. newInstance(JavaMethod thing,
           JavaType resolvedType) | 
| Constructor and Description | 
|---|
| CastedMethod(JavaMethod thing,
            JavaType resolvedType) | 
| MethodHierarchy(JavaMethod thisMethod) | 
| WrapperMethod(JavaMethod thing) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | SourceMethodA SourceMethod is the syntactic (aka symbolic) representation of a
 java method or constructor declaration. | 
| Modifier and Type | Field and Description | 
|---|---|
| static JavaMethod[] | JavaMethod. EMPTY_ARRAY | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaMethod | JavaType. getClinitMethod() | 
| JavaMethod | SourceEnumConstant. getCompiledObject()Calls resolve() implicitly and determines the constructor of this
 Enum constant. | 
| JavaMethod | JavaType. getDeclaredConstructor(JavaType[] parameters)Get the declared constructor, which might be synthetic,
 with the given parameter types. | 
| JavaMethod | JavaType. getDeclaredMethod(java.lang.String name,
                 JavaType[] parameters)Get the declared non-constructor method, which might be
 synthetic, with the given name and parameter types. | 
| JavaMethod | JavaType. getMethod(java.lang.String name,
         JavaType[] parameters)Iteratively searches for a method declared in this class or its
 hierarchy. | 
| JavaMethod | JavaMethod. getMethodErasure()Gets the erasure for this method. | 
| default JavaMethod | JavaMethod. getNonParameterizedMethod()Get the JavaMethod as it was declared. | 
| JavaMethod | SourceEnumConstant. getResolvedConstructor()Get the constructor used to construct this enum constant. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Collection<JavaMethod> | JavaType. getDeclaredConstructors()Get the collection of declared constructors, some of which might
 be synthetic. | 
| java.util.Collection<JavaMethod> | JavaType. getDeclaredMethods()Get the collection of declared non-constructor methods, some
 of which might be synthetic. | 
| java.util.Collection<JavaMethod> | JavaType. getDeclaredMethods(java.lang.String name)Get the collection of declared non-constructor methods, some
 of which might be synthetic, with the given name. | 
| java.util.Collection<JavaMethod> | JavaType. getMethods()Iteratively retrieves all methods declared in this class or its
 hierarchy. | 
| java.util.Collection<JavaMethod> | JavaType. getMethods(java.lang.String name)Iteratively retrieves all methods declared in this class or its
 hierarchy. | 
| java.util.Collection<JavaMethod> | JavaMethod. getOverriddenMethods()According to the JLS, implementing methods are overriding methods
 where the overriden method is abstract. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | JavaMethod. hasSubsignatureOf(JavaMethod other)True if this method's signature is a subsignature of the other
 method's signature. | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaMethod | SourceMethodReferenceExpression. getResolvedMethod()Get the resolved method, which is the method inferred from
 the combination of the method references expression and the context. | 
| JavaMethod | CompiledInvokeExpression. getResolvedMethod()Convenience method. | 
| JavaMethod | SourceMethodReferenceExpression. getTargetMethod()When a method reference is assigned to a functional interface, the
 target method is the one abstract method of that functional interface. | 
| JavaMethod | SourceLambdaExpression. getTargetMethod()Get the method that is the target of this lambda expression IFF the target
 of this lambda expression is a method in a functional interface. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | BindingContext. appendDescription(JavaMethod method,
                 boolean simplified,
                 java.lang.String unresolvedPrefix,
                 java.lang.String unresolvedSuffix,
                 java.lang.StringBuffer buffer,
                 java.lang.StringBuffer erased)Appends a simplified description of a method declaration bound in this
 context to a buffer. | 
| java.lang.String | BindingContext. getSimplifiedDescription(JavaMethod method)Gets a simplified description of a method declaration bound in this
 context. | 
| static boolean | Conversions. hasSubsignatureOf(JavaMethod subject,
                 JavaMethod target)JLS 8.4.2. | 
| static boolean | Conversions. isReturnTypeSubstitutable(JavaMethod subject,
                         JavaMethod target)Determine if subject is return-type substitutable for target. | 
| void | Usages. useMethodInDocComment(SourceDocReference s,
                     JavaMethod method)Usage of a method or constructor in a doc comment. | 
| void | Usages. useMethodInExpression(SourceInvokeExpression s,
                     JavaMethod method)Usage of a method or constructor in an expression. | 
| void | Usages. useMethodInExpression(SourceMethodReferenceExpression s,
                     JavaMethod method)Usage of a method or constructor reference in an expression. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected HelpInfo | JavaBrowseSupport. helpInfoFor(Context context,
           JavaMethod method) | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaMethod | CmtEventSet. getAddListenerMethod() | 
| JavaMethod | CmtMethod. getJotMethod() | 
| JavaMethod | CmtEvent. getListenerMethod() | 
| JavaMethod[] | CmtEventSet. getListenerMethods() | 
| JavaMethod | CmtProperty. getReadMethod() | 
| JavaMethod | CmtEventSet. getRemoveListenerMethod() | 
| JavaMethod | CmtProperty. getWriteMethod() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.util.Collection<JavaMethod> | EngineUtils. getDeclaredMethods(JavaType javaType)Return all non-Synthetic declared methods for the given JavaType | 
| Constructor and Description | 
|---|
| MethodInfo(JavaMethod javaMethod)Initialize from JavaMethod
------------------------------------------------------------------------- | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.util.Collection | Jot2Utils. getParameterTypes(JavaMethod jMethod) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | FacesMethodBindingPanel. methodMatches(JavaManager javaManager,
             JavaMethod method,
             boolean checkReturnType) |