Class

org.argus.jawa.core

ClassHierarchy

Related Doc: package core

Permalink

class ClassHierarchy extends JavaKnowledge

Linear Supertypes
JavaKnowledge, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassHierarchy
  2. JavaKnowledge
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClassHierarchy(reporter: Reporter)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ClassCategory extends Enumeration

    Permalink
    Definition Classes
    JavaKnowledge
  5. def JAVA_PRIMITIVES: Set[String]

    Permalink
    Definition Classes
    JavaKnowledge
  6. def JAVA_TOPLEVEL_OBJECT: String

    Permalink
    Definition Classes
    JavaKnowledge
  7. def JAVA_TOPLEVEL_OBJECT_TYPE: JawaType

    Permalink
    Definition Classes
    JavaKnowledge
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def assign(str: String, dimension: Int, pattern: String, front: Boolean): String

    Permalink

    input ("Ljava/lang/String;", 1, "[", true) output "[Ljava/lang/String;"

    input ("Ljava/lang/String;", 1, "[", true) output "[Ljava/lang/String;"

    Attributes
    protected
    Definition Classes
    JavaKnowledge
  10. def build(global: Global): ClassHierarchy

    Permalink

    construct a hierarchy from the current scene i.e.

    construct a hierarchy from the current scene i.e. Global

  11. val classToAllSubClasses: MMap[JawaClass, MSet[JawaClass]]

    Permalink

    this map is from class to all sub-classes.

    this map is from class to all sub-classes. Not filled in inside the build()

    Attributes
    protected
  12. val classToSubClasses: MMap[JawaClass, MSet[JawaClass]]

    Permalink

    this map is from class to it's sub-classes.

    this map is from class to it's sub-classes.

    Attributes
    protected
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def constructorName: String

    Permalink

    ******************** JawaMethod related op end *************************

    ******************** JawaMethod related op end *************************

    Definition Classes
    JavaKnowledge
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatPackageStringToPackage(pkg: String): JawaPackage

    Permalink
    Definition Classes
    JavaKnowledge
  19. def formatSignatureToType(sig: String): JawaType

    Permalink

    convert type string from signature style to type.

    convert type string from signature style to type. [Ljava/lang/Object; -> (java.lang.Object, 1)

    Definition Classes
    JavaKnowledge
  20. def formatTypeToName(typ: JawaType): String

    Permalink
    Definition Classes
    JavaKnowledge
  21. def formatTypeToSignature(typ: JawaType): String

    Permalink
    Definition Classes
    JavaKnowledge
  22. def genSignature(classTyp: JawaType, methodName: String, paramTyps: IList[JawaType], retTyp: JawaType): Signature

    Permalink
    Definition Classes
    JavaKnowledge
  23. def genSignature(classSigPart: String, methodNamePart: String, paramSigPart: String): Signature

    Permalink
    Definition Classes
    JavaKnowledge
  24. def generateFieldFQN(owner: JawaType, name: String, typ: JawaType): FieldFQN

    Permalink

    generate signature of this field.

    generate signature of this field. input: ("java.lang.Throwable", "stackState") output: "java.lang.Throwable.stackState"

    Definition Classes
    JavaKnowledge
  25. def generateSignature(method: JawaMethod): Signature

    Permalink

    generate signature of this method

    generate signature of this method

    Definition Classes
    JavaKnowledge
  26. def generateSignatureFromOwnerAndMethodSubSignature(clazz: JawaClass, subSig: String): Signature

    Permalink
    Definition Classes
    JavaKnowledge
  27. def generateUnknownJawaMethod(declaringClass: JawaClass, signature: Signature): JawaMethod

    Permalink
    Definition Classes
    JavaKnowledge
  28. def getAllImplementersOf(r: JawaClass): ISet[JawaClass]

    Permalink

    get all implementers of r

  29. def getAllSubClassesOf(r: JawaClass): ISet[JawaClass]

    Permalink

    return a set of all sub-classes of r

  30. def getAllSubClassesOfIncluding(r: JawaClass): ISet[JawaClass]

    Permalink

    return a set of all sub-classes of r, including itself

  31. def getAllSubInterfacesOf(r: JawaClass): Set[JawaClass]

    Permalink

    return a set of all sub-interfaces of r

  32. def getAllSubInterfacesOfIncluding(r: JawaClass): ISet[JawaClass]

    Permalink

    return a set of all sub-interfaces of r, including itself

  33. def getAllSuperClassesOf(r: JawaClass): Set[JawaClass]

    Permalink

    return a set of all super-classes of r

  34. def getAllSuperClassesOfIncluding(r: JawaClass): ISet[JawaClass]

    Permalink

    return a set of all super-classes of r, including itself

  35. def getAllSuperInterfacesOf(r: JawaClass): Set[JawaClass]

    Permalink

    return a set of all super-interfaces of r

  36. def getAllSuperInterfacesOfIncluding(r: JawaClass): Set[JawaClass]

    Permalink

    return a set of all super-interfaces of r, including itself

  37. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  38. def getClassNameFromFieldFQN(fqn: String): String

    Permalink

    get class name from field signature.

    get class name from field signature. e.g. java.lang.Throwable.stackState -> java.lang.Throwable [Ljava.lang.String;.length -> [Ljava.lang.String;

    Definition Classes
    JavaKnowledge
  39. def getClassNameFromMethodFullName(mfn: String): String

    Permalink
    Definition Classes
    JavaKnowledge
  40. def getClassTypeFromFieldFQN(fqn: String): JawaType

    Permalink

    get class name from field signature.

    get class name from field signature. e.g. java.lang.Throwable.stackState -> java.lang.Throwable [Ljava.lang.String;.length -> [Ljava.lang.String;

    Definition Classes
    JavaKnowledge
  41. def getClassTypeFromMethodFullName(mfn: String): JawaType

    Permalink
    Definition Classes
    JavaKnowledge
  42. def getFieldNameFromFieldFQN(fqn: String): String

    Permalink

    get field name from field FQN.

    get field name from field FQN. e.g. java.lang.Throwable.stackState -> stackState

    Definition Classes
    JavaKnowledge
  43. def getImplementersOf(r: JawaClass): ISet[JawaClass]

    Permalink

    get implementers of r

  44. def getMethodNameFromMethodFullName(mfn: String): String

    Permalink
    Definition Classes
    JavaKnowledge
  45. def getOuterTypeFrom(innerType: JawaType): JawaType

    Permalink

    get outer class name from inner class name.

    get outer class name from inner class name. e.g. android.os.Handler$Callback -> android.os.Handler

    Definition Classes
    JavaKnowledge
  46. def getSubClassesOf(r: JawaClass): Set[JawaClass]

    Permalink

    return a set of sub-classes of r

  47. def getSubClassesOfIncluding(r: JawaClass): Set[JawaClass]

    Permalink

    return a set of sub-classes of r, including itself

  48. def getSubInterfacesOf(r: JawaClass): ISet[JawaClass]

    Permalink

    return a set of sub-interfaces of r

  49. def getSubInterfacesOfIncluding(r: JawaClass): ISet[JawaClass]

    Permalink

    return a set of sub-interfaces of r, including itself

  50. def getSuperClassOf(r: JawaClass): Option[JawaClass]

    Permalink

    return super-classe of r

  51. def getSuperInterfacesOf(r: JawaClass): ISet[JawaClass]

    Permalink

    return a set of all super-interfaces of r

  52. def getType(typ: String, dimentions: Int): JawaType

    Permalink

    input ("java.lang.String", 1) output Type

    input ("java.lang.String", 1) output Type

    Attributes
    protected
    Definition Classes
    JavaKnowledge
  53. def getTypeFromName(name: String): JawaType

    Permalink

    input: "java.lang.String[]" output: JawaType("java.lang.String", 1)

    input: "java.lang.String[]" output: JawaType("java.lang.String", 1)

    Definition Classes
    JavaKnowledge
  54. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  55. val interfaceToAllSubInterfaces: MMap[JawaClass, MSet[JawaClass]]

    Permalink

    this map is from interface to all sub-interfaces.

    this map is from interface to all sub-interfaces. Not filled in inside the build()

    Attributes
    protected
  56. val interfaceToImplememters: MMap[JawaClass, MSet[JawaClass]]

    Permalink

    this map is from interface to direct implementers

    this map is from interface to direct implementers

    Attributes
    protected
  57. val interfaceToSubInterfaces: MMap[JawaClass, MSet[JawaClass]]

    Permalink

    this map is from interface to sub-interfaces.

    this map is from interface to sub-interfaces.

    Attributes
    protected
  58. def isClassRecursivelySubClassOf(child: JawaClass, parent: JawaClass): Boolean

    Permalink

    return true if child is a subclass of given parent recursively

  59. def isClassRecursivelySubClassOfIncluding(child: JawaClass, parent: JawaClass): Boolean

    Permalink

    return true if child is a subclass of given parent recursively

  60. def isClassRecursivelySubInterfaceOf(child: JawaClass, parent: JawaClass): Boolean

    Permalink

    return true if child is a subinterface of given parent recursively

  61. def isClassRecursivelySubInterfaceOfIncluding(child: JawaClass, parent: JawaClass): Boolean

    Permalink

    return true if child is a subinterface of given parent recursively

  62. def isClassRecursivelySuperClassOf(parent: JawaClass, child: JawaClass): Boolean

    Permalink

    return true if child is a super class of given parent recursively

  63. def isClassRecursivelySuperClassOfIncluding(parent: JawaClass, child: JawaClass): Boolean

    Permalink

    return true if child is a super class of given parent recursively

  64. def isClassSubClassOf(child: JawaClass, parent: JawaClass): Boolean

    Permalink

    return true if child is a subclass of given parent

  65. def isClassSubInterfaceOf(child: JawaClass, parent: JawaClass): Boolean

    Permalink

    return true if child is a subinterface of given parent

  66. def isClassSuperClassOf(parent: JawaClass, child: JawaClass): Boolean

    Permalink

    return true if child is a subclass of given parent

  67. def isFQN(str: String): Boolean

    Permalink

    check if given string is field signature or not

    check if given string is field signature or not

    Definition Classes
    JavaKnowledge
  68. def isInnerClass(typ: JawaType): Boolean

    Permalink

    return true if the given typ is a inner class or not

    return true if the given typ is a inner class or not

    Definition Classes
    JavaKnowledge
  69. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  70. def isJavaPrimitive(name: String): Boolean

    Permalink

    return whether given type is java primitive type

    return whether given type is java primitive type

    Definition Classes
    JavaKnowledge
  71. def isJavaPrimitive(typ: JawaType): Boolean

    Permalink

    return whether given type is java primitive type

    return whether given type is java primitive type

    Definition Classes
    JavaKnowledge
  72. def isJawaConstructor(name: String): Boolean

    Permalink
    Definition Classes
    JavaKnowledge
  73. def isMethodVisible(from: JawaClass, method: JawaMethod): Boolean

    Permalink

    return true if the procedure is visible from record from

  74. def isValidFieldFQN(fqn: String): Boolean

    Permalink

    FQN of the field.

    FQN of the field. e.g. java.lang.Throwable.stackState or @@java:lang:Enum.sharedConstantsCache

    Definition Classes
    JavaKnowledge
  75. def isValidFieldName(name: String): Boolean

    Permalink

    FQN of the field.

    FQN of the field. e.g. java.lang.Throwable.stackState or @@java.lang.Enum.sharedConstantsCache

    Definition Classes
    JavaKnowledge
  76. def isValidMethodFullName(mfn: String): Boolean

    Permalink

    e.g.

    e.g. java.lang.Throwable.run

    Definition Classes
    JavaKnowledge
  77. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  78. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  79. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  80. def printDetails(): Unit

    Permalink
  81. def reset(): Unit

    Permalink
  82. def resolveAbstractDispatch(r: JawaClass, p: JawaMethod): Set[JawaMethod]

    Permalink

    Given an abstract dispatch to an object of type r and a procedure p, gives a list of possible receiver's methods

  83. def resolveAbstractDispatch(r: JawaClass, pSubSig: String): ISet[JawaMethod]

    Permalink

    Given an abstract dispatch to an object of type r and a procedure p, gives a list of possible receiver's methods

  84. def resolveConcreteDispatch(concreteType: JawaClass, pSubSig: String): Option[JawaMethod]

    Permalink

    Given an object created by o = new R as type R, return the procedure which will be called by o.p()

  85. def resolveConcreteDispatch(concreteType: JawaClass, p: JawaMethod): Option[JawaMethod]

    Permalink

    Given an object created by o = new R as type R, return the procedure which will be called by o.p()

  86. def separatePkgAndTyp(pkgAndTyp: String): JawaBaseType

    Permalink

    input: "java.lang.String" output: (Some("java.lang"), "String") input: "int" output: (None, "int")

    input: "java.lang.String" output: (Some("java.lang"), "String") input: "int" output: (None, "int")

    Definition Classes
    JavaKnowledge
  87. def staticInitializerName: String

    Permalink
    Definition Classes
    JavaKnowledge
  88. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  89. def toString(): String

    Permalink
    Definition Classes
    ClassHierarchy → AnyRef → Any
  90. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JavaKnowledge

Inherited from AnyRef

Inherited from Any

Ungrouped