|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use JxClass | |
| 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 JxClass in org.jtool.jxplatform.query |
| Methods in org.jtool.jxplatform.query that return JxClass | |
JxClass |
JxInheritance.getJxClass()
Returns the superclass or subclass stored in this inheritance relationship. |
static JxClass |
Elipse2Jx.getJxClass(org.eclipse.jdt.core.IType type)
Obtains a class corresponding to an IType. |
static JxClass |
Elipse2Jx.getUpdatedJxClass(org.eclipse.jdt.core.IType type)
Obtains a class corresponding to an IType. |
static JxClass |
QueryProject.getClassInProject(JxProject project,
java.lang.String fqn)
Returns a class with a given name in a given project. |
static JxClass |
QueryFile.getClassWithName(JxFile jfile,
java.lang.String cname)
Obtains a class with a given name which a given file can access. |
| Methods in org.jtool.jxplatform.query with parameters of type JxClass | |
static JxFileList |
QueryProject.getFilesUsingClass(JxProject project,
JxClass jclass)
Obtains all files in a given project that use a given class. |
static JxFileList |
QueryProject.getFilesUsingClassExceptSelf(JxProject project,
JxClass jclass)
Obtains all files in a given project that use a given class except the class itself. |
static JxClassList |
QueryProject.getAnonymousJavaClasses(JxProject project,
JxClass jclass)
Obtains all wrappers of anonymous classes in a given project that are equal to a given class. |
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 |
QueryImport.contains(JxImport jimport,
JxClass jclass)
Test if a given import declarration contains a given class. |
static boolean |
QueryImport.needsImport(JxClass jclass,
JxClass jc)
Tests if a given class requires an import declaration of a given class. |
static boolean |
QueryFile.definesClass(JxFile jfile,
JxClass jclass)
Tests if a given file defines a given class. |
static java.util.ArrayList |
QueryFile.getTypesOfClass(JxFile jfile,
JxClass jclass)
Obtains all types in a given file which indicate a given class. |
static boolean |
QueryFile.usesJxClassExceptSelf(JxFile jfile,
JxClass jclass)
Tests if a given file uses a given class exception the class itself. |
static boolean |
QueryFile.imports(JxFile jfile,
JxClass jclass)
Tests if a given file imports a given class. |
static boolean |
QueryField.usesFieldInClass(JxField jfield,
JxClass jclass)
Tests if a given field uses another field in a given class. |
static boolean |
QueryField.usesFieldInAncestorsOfClass(JxField jfield,
JxClass jclass)
Tests if a given field uses any field in ancestors of a given class. |
static JxFieldList |
QueryField.getUsedFieldsInClass(JxField jfield,
JxClass jclass)
Obtains all fields which are used by a given field and which are in a given class. |
static boolean |
QueryField.callsMethodInClass(JxField jfield,
JxClass jclass)
Tests if a given field calls any method in a given class. |
static boolean |
QueryField.callsMethodInAncestorsOfClass(JxField jfield,
JxClass jclass)
Tests if a given field calls any method in ancestors of a given class. |
static JxMethodList |
QueryField.getCalledMethodsInClass(JxField jfield,
JxClass jclass)
Obtains all methods which are called by a given field and which are in a given class. |
static boolean |
QueryField.usesPrivateFieldInClass(JxField jfield,
JxClass jclass)
Tests if a given field uses any private field in a given class. |
static boolean |
QueryField.callsPrivateMethodsInClass(JxField jfield,
JxClass jclass)
Tests if a given field calls any private method in a given class. |
static JxFieldList |
QueryField.getUsedFieldsInAncestorsOfClass(JxField jfield,
JxClass jclass)
Obtains all fields which are used by a given field and which are in ancestors of a given class. |
static boolean |
QueryField.inSimpleAssignments(JxField jfield,
JxClass jclass)
Tests if all accesses to a given field in a given class are contained in simple assignments. |
static JxClassList |
QueryClass.getAncestors(JxClass jclass)
Returns all ancestors of a given class. |
static JxClassList |
QueryClass.getAncestorsInProject(JxClass jclass)
Returns all ancestors of a given class in the project including the class. |
static JxClassList |
QueryClass.getDescendants(JxClass jclass)
Returns all descendants of a given class. |
static JxClassList |
QueryClass.getDescendantsInProject(JxClass jclass)
Returns all descendants of a given class in the project including the class. |
static boolean |
QueryClass.defineTheSameNameMethod(JxClass jclass1,
JxClass jclass2)
Tests if both given classes define methods with the same signature. |
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 boolean |
QueryClass.definesMethod(JxClass jclass,
java.lang.String signature)
Tests if a given class defines a method with a given signature. |
static boolean |
QueryClass.defineTheSameNameField(JxClass jclass1,
JxClass jclass2)
Tests if both given classes define fields with the same name. |
static boolean |
QueryClass.definesField(JxClass jclass,
JxField jfield)
Tests if a given class defines a field with the same name as a given field has. |
static boolean |
QueryClass.definesField(JxClass jclass,
java.lang.String fname)
Tests if a given class defines a field with a given name. |
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.getAncestorsDefiningField(JxClass jclass,
JxField jfield)
Obtains all ancestors of a given class and deJxfine a given field. |
static JxClassList |
QueryClass.collectDescendantsDefiningField(JxClass jclass,
JxField jfield)
Obtains all descendants of a given class that define a given field. |
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.usesField(JxClass jclass,
JxField jfield)
Tests if a given class uses a given field. |
static java.util.ArrayList |
QueryClass.getAccessesUsingField(JxClass jclass,
JxField jfield)
Obtains all field access wrappers to a given field 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 boolean |
QueryClass.usesFieldExceptAccessors(JxClass jclass,
JxField jfield,
java.lang.String setter,
java.lang.String getter)
Tests if a given class directly uses a given field without its accessors. |
static JxClassList |
QueryClass.getDescendantsCallingMethod(JxClass jclass,
JxMethod jmethod)
Obtains all descendants of a given class that call a given method. |
static JxClassList |
QueryClass.getDescendantsUsingField(JxClass jclass,
JxField jfield)
Obtains all descendants of a given class that use a given field. |
static JxClassList |
QueryClass.getChildren(JxClass jclass)
Obtains all children (direct descendats) of a given class. |
static JxClassList |
QueryClass.getClassesUsedByClass(JxClass jclass)
Obtains all classes used by a given class |
static boolean |
QueryClass.imports(JxClass jclass,
JxClass type)
Tests if a given class imports a given type. |
static boolean |
QueryClass.imports(JxClass jclass,
java.lang.String fqn)
Tests if a given class imports a type with a given fully-qualified name. |
static boolean |
QueryClass.isAccessible(JxClass jclass,
JxClass jc)
Tests if a given class can access a given class. |
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. |
static boolean |
QueryClass.isAccessible(JxClass jclass,
JxField jf)
Tests if a given class can access a given field. |
static boolean |
QueryClass.isAccessible(JxClass jclass,
JxClass jc,
JxField jf)
Tests if a given class can access a given field of a given class. |
static boolean |
QueryClass.isAccessible(JxClass jclass,
JxClassList classes)
Tests if a given class can access all classes of a given collection. |
| Constructors in org.jtool.jxplatform.query with parameters of type JxClass | |
JxInheritance(JxClass jc,
java.lang.String dist)
Creates a new object which stores information about inheritance relationship. |
|
| Uses of JxClass in org.jtool.jxplatform.wrapper |
| Subclasses of JxClass in org.jtool.jxplatform.wrapper | |
class |
JxBinaryClass
An object wrapping a Class element of an XML document generated from a binary file.
|
| Methods in org.jtool.jxplatform.wrapper that return JxClass | |
static JxClass |
JxWrapperFactory.createJxClass(org.w3c.dom.Element elem)
Creates a new object wrapping a Class or Intf element. |
JxClass |
JxBinaryMethod.getJxClass()
Obtains a class wrapper defining this method. |
JxClass |
JxBinaryField.getJxClass()
Obtains a class wrapper defining this field. |
JxClass |
JxBinaryClass.getOuterJxClass()
Returns the wrapper of the immediately outer class. |
JxClass |
JxType.getReferencedJxClass()
Returns the class wrapper referenced by this type. |
JxClass |
JxPackage.getJxClass()
Obtains a class wrapper defining this file element. |
JxClass |
JxMethod.getJxClass()
Obtains a class wrapper defining this method. |
JxClass |
JxImport.getJxClass()
Obtains a class wrapper defining this file element. |
JxClass |
JxFile.getJxClass(java.lang.String name)
Returns a wrapper for a class with a given name. |
JxClass |
JxFile.getJxClass()
Obtains a class wrapper defining this file element. |
JxClass |
JxField.getJxClass()
Obtains a class wrapper defining this field. |
JxClass |
JxElement.getJxClass()
Obtains a class wrapper defining this element. |
JxClass |
JxClass.getOuterJxClass()
Returns the wrapper of the immediately outer class. |
JxClass |
JxClass.getSuperClass()
Returns the wrapper of the superclass of this class. |
JxClass |
JxBinaryFile.getJxBinaryClass()
Returns a wrapper for a binary class with a given name. |
JxClass |
JxBinaryFile.getJxClass(java.lang.String name)
Returns a wrapper for a class with a given name. |
| Methods in org.jtool.jxplatform.wrapper with parameters of type JxClass | |
boolean |
JxClass.equals(JxClass jclass)
Tests if a given class wrapper equals to this one. |
boolean |
JxClass.isChildOf(JxClass jc)
Test if this class is a child of the specified class. |
| Uses of JxClass in org.jtool.jxplatform.wrapper.collection |
| Methods in org.jtool.jxplatform.wrapper.collection that return JxClass | |
JxClass |
JxClassList.remove(int index)
Removes a wrapper at a position in this list. |
JxClass |
JxClassList.get(int index)
Returns a wrapper at the position in this list. |
JxClass |
JxClassList.getFirst()
Returns the first wrapper in this list. |
JxClass |
JxClassList.getLast()
Returns the last wrapper in this list. |
JxClass |
JxClassList.removeFirst()
Removes the first wrapper from this list. |
JxClass |
JxClassList.removeLast()
Removes the last wrapper from this list. |
JxClass |
JxClassList.getJxClass(JxClass jc)
Returns a wrapper in this list that indicates the same DOM element of a wrapper. |
JxClass |
JxClassList.getJxClass(java.lang.String fqn)
Returns a wrapper with a fully qualified name in this list. |
JxClass[] |
JxClassList.toArray()
Returns an array containing all wrappers in this list in proper sequence. |
| Methods in org.jtool.jxplatform.wrapper.collection with parameters of type JxClass | |
boolean |
JxClassList.add(JxClass jc)
Appends a wrapper to the end of this list. |
boolean |
JxClassList.add(int index,
JxClass jc)
Inserts a wrapper at a position in this list. |
boolean |
JxClassList.remove(JxClass jc)
Removes a wrapper from this list. |
boolean |
JxClassList.contains(JxClass jc)
Tests if this list contains a wrapper. |
boolean |
JxClassList.addFirst(JxClass jc)
Inserts a wrapper at the beginning of this list. |
boolean |
JxClassList.addLast(JxClass jc)
Appends a wrapper to the end of this list. |
JxClass |
JxClassList.getJxClass(JxClass jc)
Returns a wrapper in this list that indicates the same DOM element of a wrapper. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||