|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use JxMethod | |
| org.jtool.jxplatform.query | Application programming interfaces for interaction with the XML representaion of source code. |
| org.jtool.jxplatform.wrapper | Application programming interfaces for interaction with the XML representaion of source code. |
| org.jtool.jxplatform.wrapper.collection | Application programming interfaces for collectively managing Java wrappers. |
| Uses of JxMethod in org.jtool.jxplatform.query |
| Methods in org.jtool.jxplatform.query that return JxMethod | |
static JxMethod |
Elipse2Jx.getJxMethod(org.eclipse.jdt.core.IMethod method)
Obtains a method correspondinf to an IMethod. |
static JxMethod |
Elipse2Jx.getUpdatedJxMethod(org.eclipse.jdt.core.IMethod method)
Obtains a method correspondinf to an IMethod. |
static JxMethod |
QueryField.guessGettter(JxField jfield)
Guesses and returns the getter of a given field. |
static JxMethod |
QueryField.guessSettter(JxField jfield)
Guesses and returns the setter of a given field. |
| Methods in org.jtool.jxplatform.query with parameters of type JxMethod | |
static JxFileList |
QueryProject.getFilesCallingMethod(JxProject project,
JxMethod jmethod)
Obtains all files in a given project that call a given method. |
static JxFileList |
QueryProject.getFilesCallingTheMethodExceptSelf(JxProject project,
JxMethod jmethod)
Obtains all files in a given project that call a given method except the method itself. |
protected static java.util.ArrayList |
QueryProject.getCallsUsingMethod(JxElement jelem,
JxMethod jmethod)
Obtains all method call wrappers in a given DOM subtree which call a given method. |
static JxClassList |
QueryProject.getClassesCallingMethod(JxProject project,
JxMethod jmethod)
Obtains all classes in a given project that call a given method. |
static boolean |
QueryMethod.callsMethodsInClass(JxMethod jmethod,
JxClass jclass)
Tests if a given method calls any method defined in a given class. |
static boolean |
QueryMethod.callsMethodInAncestorsOfClass(JxMethod jmethod,
JxClass jclass)
Tests if a given method calls any method defined in ancestors of a given class. |
static boolean |
QueryMethod.callsMethodInClassExceptSelf(JxMethod jmethod,
JxClass jclass)
Tests if a given method calls any method defined in a given class except the method itself. |
static boolean |
QueryMethod.callsMethodInAncestorsOfClassExceptSelf(JxMethod jmethod,
JxClass jclass)
Tests if a given method calls any method defined in ancestors of a given class except the method itself. |
static JxMethodList |
QueryMethod.getCalledMethodsInClass(JxMethod jmethod,
JxClass jclass)
Obtains all methods in a given class that are called by any method in a given method. |
static JxMethodList |
QueryMethod.getCalledMethodsInAncestorsOfClass(JxMethod jmethod,
JxClass jclass)
Obtains all methods in ancestors of a given class that are called by any method in a given method. |
static boolean |
QueryMethod.usesFieldsInClass(JxMethod jmethod,
JxClass jclass)
Tests if a given method uses any field defined in a given class. |
static boolean |
QueryMethod.usesFieldInAncestorsOfClass(JxMethod jmethod,
JxClass jclass)
Tests if a given method uses any field defined in ancestors of a given class. |
static JxFieldList |
QueryMethod.getUsedFieldsInClass(JxMethod jmethod,
JxClass jclass)
Obtains all fields in a given method that use any field in a given class. |
static JxFieldList |
QueryMethod.getUsedFieldsInAncestorsOfAccessClass(JxMethod jmethod,
JxClass jclass)
Obtains all fields in a given method that use any field in ancestors of a given class. |
static JxFieldList |
QueryMethod.getReadFieldInAncestorsOfClass(JxMethod jmethod,
JxClass jclass)
Obtains all read fields in a given method that use any field in ancestors of a given class. |
static JxFieldList |
QueryMethod.getReadFieldsInClass(JxMethod jmethod,
JxClass jclass)
Obtains all read fields in a given method that use any field in a given class. |
static JxFieldList |
QueryMethod.getWrittenFieldsInAncestorsOfClass(JxMethod jmethod,
JxClass jclass)
Obtains all written fields in a given method that use any field in ancestors of a given class. |
static JxFieldList |
QueryMethod.getWrittenFieldsInClass(JxMethod jmethod,
JxClass jclass)
Obtains all written fields in a given method that use any field in a given class. |
static boolean |
QueryMethod.callsPrivateMethodInClass(JxMethod jmethod,
JxClass jclass)
Tests if a given method calls any private method in a given class. |
static boolean |
QueryMethod.callsPrivateMethodInClassExceptSelf(JxMethod jmethod,
JxClass jclass)
Tests if a given method calls any private method in a given class except the method itself. |
static boolean |
QueryMethod.usesPrivateFieldInClass(JxMethod jmethod,
JxClass jclass)
Tests if a given method uses any private field in a given class. |
static boolean |
QueryMethod.usesPrivateField(JxMethod jmethod,
JxField jfield)
Tests if a given method uses a given private field. |
static boolean |
QueryMethod.usesVariable(JxMethod jmethod,
java.lang.String vname)
Tests if a given method uses a variable with a given name. |
static boolean |
QueryMethod.usesLocalVariable(JxMethod jmethod,
java.lang.String vname)
Tests if a given method uses a local variable with a given name. |
static boolean |
QueryMethod.readVariable(JxMethod jmethod,
java.lang.String vname)
Tests if a given method reads a variable with a name. |
static boolean |
QueryMethod.writeVariable(JxMethod jmethod,
java.lang.String vname)
Tests if a given method writes a variable with a name. |
static boolean |
QueryMethod.readOrWriteVariable(JxMethod jmethod,
java.lang.String vname)
Tests if a given method reads or writes a variable with a name. |
static JxMethodList |
QueryMethod.getMethodsWithTheSameSignature(JxMethod jmethod,
JxClassList jclasses)
Obtains all methods in a given collection with the same signature as a given method. |
static JxMethodList |
QueryMethod.getOverriddenMethods(JxMethod jmethod)
Obtains all methods overridden by a given method. |
static JxMethodList |
QueryMethod.getOverriddenMethods(JxMethod jmethod,
JxClassList ancestors)
Obtains all methods overridden by a given method. |
static JxMethodList |
QueryMethod.getOverridingMethods(JxMethod jmethod)
Obtains all methods overriding a given method. |
static JxMethodList |
QueryMethod.getOverridingMethods(JxMethod jmethod,
JxClassList descendants)
Obtains all methods overriding a given method. |
static boolean |
QueryMethod.overrides(JxMethod jm1,
JxMethod jm2)
Tests if a given method overrides by a given method. |
static JxMethodList |
QueryMethod.getHiddenMethods(JxMethod jmethod)
Obtains all methods hidden by a given method. |
static JxMethodList |
QueryMethod.getHiddenMethods(JxMethod jmethod,
JxClassList ancestors)
Obtains all methods hidden by a given method. |
static JxMethodList |
QueryMethod.getHidingMethods(JxMethod jmethod)
Obtains all methods hiding a given method. |
static JxMethodList |
QueryMethod.getHidingMethods(JxMethod jmethod,
JxClassList descendants)
Obtains all methods hiding a given method. |
static boolean |
QueryMethod.hides(JxMethod jm1,
JxMethod jm2)
Tests if a given method hides a given method. |
static JxMethodList |
QueryMethod.getOverloadedMethods(JxMethod jmethod)
Obtains all methods overloaded by a given method. |
static JxMethodList |
QueryMethod.getOverloadedMethods(JxMethod jmethod,
JxClassList ancestors)
Obtains all methods overloaded by a given method. |
static JxMethodList |
QueryMethod.getOverloadingMethods(JxMethod jmethod)
Obtains all methods overloading a given method. |
static JxMethodList |
QueryMethod.getOverloadingMethods(JxMethod jmethod,
JxClassList descendants)
Obtains all methods overloading a given method. |
static boolean |
QueryMethod.overloads(JxMethod jm1,
JxMethod jm2)
Tests if a given method overloads by a given method. |
static JxMethodList |
QueryMethod.getIndirectlyImplementedMethods(JxMethod jmethod)
Obtains all methods indirectly implemented by a given method. |
static JxMethodList |
QueryMethod.getIndirectlyImplementingMethods(JxMethod jmethod)
Obtains all methods indirectly implementing a method. |
static JxMethodList |
QueryMethod.getApplicableMethodsInAncestors(JxMethod jmethod)
Obtains all methods which are applicable to a given method in ancestors of a class defining the method. |
static JxMethodList |
QueryMethod.getApplicableMethodsInDescendants(JxMethod jmethod)
Obtains all methods which are applicable to a given method in descendants of a class defining the method. |
boolean |
QueryMethod.isApplicable(JxMethodCall ja,
JxMethod jm)
Tests if a given method call is applicable to a given method. |
static boolean |
QueryMethod.isApplicable(JxMethod jm1,
JxMethod jm2)
Tests if a method is applicable to a method. |
static boolean |
QueryMethod.isConvertible(JxMethod jm1,
JxMethod jm2)
Tests if a method is convertible to a method. |
static java.util.ArrayList |
QueryMethod.getThisExpressions(JxMethod jmethod)
Obtains all expressions the sort of which are the this reference in a given method. |
static java.util.ArrayList |
QueryMethod.getJavaExprCallingMethod(JxMethod jmethod)
Obtains all expressions the sort of which are the method call in a given method. |
static java.util.ArrayList |
QueryMethod.getJavaExpressionAccessingVariable(JxMethod jmethod)
Obtains all expressions the sort of which are the variable access in a given method. |
static java.util.ArrayList |
QueryFile.getJxCallsUsingMethod(JxFile jfile,
JxMethod jmethod)
Obtains all method call wrappers in a given file tha call a given method. |
static boolean |
QueryClass.definesMethod(JxClass jclass,
JxMethod jmethod)
Tests if a given class defines a method with the same signature as a given method has. |
static JxClassList |
QueryClass.getAncestorsDefiningMethod(JxClass jclass,
JxMethod jmethod)
Obtains all ancestors of a given class that define a given method. |
static JxClassList |
QueryClass.getDescendantsDefiningMethod(JxClass jclass,
JxMethod jmethod)
Obtains all descendants of a given class that define a given method. |
static JxClassList |
QueryClass.getClassesDefiningMethod(JxClassList jclasses,
JxMethod jmethod)
Obtains all classes in a given collection that define a given method. |
static boolean |
QueryClass.callsMethod(JxClass jclass,
JxMethod jmethod)
Tests if a given class calls a given method. |
static java.util.ArrayList |
QueryClass.getCallsUsingMethod(JxClass jclass,
JxMethod jmethod)
Obtains all method call wrappers to a given method in a given class. |
static boolean |
QueryClass.callsMethodExceptSelf(JxClass jclass,
JxMethod jmethod)
Tests if a given class calls a given method except the method itself. |
static JxClassList |
QueryClass.getDescendantsCallingMethod(JxClass jclass,
JxMethod jmethod)
Obtains all descendants of a given class that call a given method. |
static boolean |
QueryClass.isAccessible(JxClass jclass,
JxMethod jm)
Tests if a given class can access a given method. |
static boolean |
QueryClass.isAccessible(JxClass jclass,
JxClass jc,
JxMethod jm)
Tests if a given class can access a given method of a given class. |
| Uses of JxMethod in org.jtool.jxplatform.wrapper |
| Subclasses of JxMethod in org.jtool.jxplatform.wrapper | |
class |
JxBinaryMethod
An object wrapping a Method element of an XML document generated from a binary file.
|
| Methods in org.jtool.jxplatform.wrapper that return JxMethod | |
static JxMethod |
JxWrapperFactory.createJxMethod(org.w3c.dom.Element elem)
Creates a new object wrapping a Method or Ctor element. |
JxMethod |
JxBinaryClass.getJxMethod(java.lang.String sig)
Returns a wrapper for a method with a given signature. |
JxMethod |
JxPackage.getJxMethod()
Obtains a method wrapper defining this file element. |
JxMethod |
JxMethodCall.getReferencedJxMethod()
Returns the method wrapper referenced by this method call. |
JxMethod |
JxImport.getJxMethod()
Obtains a method wrapper defining this file element. |
JxMethod |
JxFile.getJxMethod()
Obtains a method wrapper defining this file element. |
JxMethod |
JxElement.getJxMethod()
Obtains a method wrapper defining this element. |
JxMethod |
JxClass.getJxMethod(java.lang.String sig)
Returns a wrapper for a method with a given signature. |
| Methods in org.jtool.jxplatform.wrapper with parameters of type JxMethod | |
boolean |
JxMethod.equals(JxMethod jmethod)
Tests if a given method wrapper equals to this one. |
| Uses of JxMethod in org.jtool.jxplatform.wrapper.collection |
| Methods in org.jtool.jxplatform.wrapper.collection that return JxMethod | |
JxMethod |
JxMethodList.remove(int index)
Removes a wrapper at a position in this list. |
JxMethod |
JxMethodList.get(int index)
Returns a wrapper at the position in this list. |
JxMethod |
JxMethodList.getFirst()
Returns the first wrapper in this list. |
JxMethod |
JxMethodList.getLast()
Returns the last wrapper in this list. |
JxMethod |
JxMethodList.removeFirst()
Removes the first wrapper from this list. |
JxMethod |
JxMethodList.removeLast()
Removes the last wrapper from this list. |
JxMethod |
JxMethodList.getJxMethod(JxMethod jm)
Returns a wrapper in this list that indicates the same DOM element of a wrapper. |
JxMethod |
JxMethodList.getJxMethod(java.lang.String sig)
Returns a wrapper with a signature in this list. |
JxMethod[] |
JxMethodList.toArray()
Returns an array containing all wrappers in this list in proper sequence. |
| Methods in org.jtool.jxplatform.wrapper.collection with parameters of type JxMethod | |
boolean |
JxMethodList.add(JxMethod jm)
Appends a wrapper to the end of this list. |
boolean |
JxMethodList.add(int index,
JxMethod jm)
Inserts a wrapper at a position in this list. |
boolean |
JxMethodList.remove(JxMethod jm)
Removes a wrapper from this list. |
boolean |
JxMethodList.contains(JxMethod jm)
Tests if this list contains a wrapper. |
boolean |
JxMethodList.addFirst(JxMethod jm)
Inserts a wrapper at the beginning of this list. |
boolean |
JxMethodList.addLast(JxMethod jm)
Appends a wrapper to the end of this list. |
JxMethod |
JxMethodList.getJxMethod(JxMethod jm)
Returns a wrapper in this list that indicates the same DOM element of a wrapper. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||