Class

org.argus.jawa.core

JawaField

Related Doc: package core

Permalink

case class JawaField(declaringClass: JawaClass, name: String, typ: JawaType, accessFlags: Int) extends JawaElement with JavaKnowledge with Product with Serializable

This class is an jawa representation of a jawa field. It should belong to a JawaClass.

declaringClass

The declaring class of this field

name

name of the field. e.g. stackState

typ

JawaType of the field

accessFlags

access flags of this field

Linear Supertypes
Serializable, Serializable, Product, Equals, JavaKnowledge, JawaElement, PropertyProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JawaField
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JavaKnowledge
  7. JawaElement
  8. PropertyProvider
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JawaField(declaringClass: JawaClass, name: String, typ: JawaType, accessString: String)

    Permalink

    construct a jawa field instance

  2. new JawaField(declaringClass: JawaClass, name: String, typ: JawaType, accessFlags: Int)

    Permalink

    create a jawa field

    create a jawa field

    declaringClass

    The declaring class of this field

    name

    name of the field. e.g. stackState

    typ

    JawaType of the field

    accessFlags

    access flags of this field

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. def ?(key: Key): Boolean

    Permalink
    Definition Classes
    PropertyProvider
  5. object ClassCategory extends Enumeration

    Permalink
    Definition Classes
    JavaKnowledge
  6. def FQN: FieldFQN

    Permalink

    full qualified name of the field.

    full qualified name of the field. e.g. java.lang.Throwable.stackState

  7. def JAVA_PRIMITIVES: Set[String]

    Permalink
    Definition Classes
    JavaKnowledge
  8. def JAVA_TOPLEVEL_OBJECT: String

    Permalink
    Definition Classes
    JavaKnowledge
  9. def JAVA_TOPLEVEL_OBJECT_TYPE: JawaType

    Permalink
    Definition Classes
    JavaKnowledge
  10. val accessFlags: Int

    Permalink

    access flags of this field

    access flags of this field

    Definition Classes
    JawaFieldJawaElement
  11. def apply[T](key: Key): T

    Permalink
    Definition Classes
    PropertyProvider
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. 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
  14. def clone(): AnyRef

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

    Permalink

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

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

    Definition Classes
    JavaKnowledge
  16. val declaringClass: JawaClass

    Permalink

    The declaring class of this field

  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def finalize(): Unit

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

    Permalink
    Definition Classes
    JavaKnowledge
  20. 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
  21. def formatTypeToName(typ: JawaType): String

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

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

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

    Permalink
    Definition Classes
    JavaKnowledge
  25. 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
  26. def generateSignature(method: JawaMethod): Signature

    Permalink

    generate signature of this method

    generate signature of this method

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

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

    Permalink
    Definition Classes
    JavaKnowledge
  29. def getAccessFlags: Int

    Permalink
    Definition Classes
    JawaElement
  30. def getAccessFlagsStr: String

    Permalink

    get field access flags in text form

    get field access flags in text form

    Definition Classes
    JawaElement
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. 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
  33. def getClassNameFromMethodFullName(mfn: String): String

    Permalink
    Definition Classes
    JavaKnowledge
  34. 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
  35. def getClassTypeFromMethodFullName(mfn: String): JawaType

    Permalink
    Definition Classes
    JavaKnowledge
  36. def getDeclaringClass: JawaClass

    Permalink
  37. 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
  38. def getMethodNameFromMethodFullName(mfn: String): String

    Permalink
    Definition Classes
    JavaKnowledge
  39. def getName: String

    Permalink

    Field name like: f

  40. 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
  41. def getProperty[T](key: Key): T

    Permalink
    Definition Classes
    PropertyProvider
  42. def getPropertyOrElse[T](key: Key, defaultValue: ⇒ T): T

    Permalink
    Definition Classes
    PropertyProvider
  43. def getPropertyOrElseUpdate[T](key: Key, initValue: ⇒ T): T

    Permalink
    Definition Classes
    PropertyProvider
  44. def getType: JawaType

    Permalink

    field type

  45. 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
  46. def getTypeFromJawaName(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
  47. def getTypeFromName(name: String): JawaType

    Permalink

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

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

    Definition Classes
    JavaKnowledge
  48. def isAbstract: Boolean

    Permalink

    return true if this class is abstract

    return true if this class is abstract

    Definition Classes
    JawaElement
  49. def isClass: Boolean

    Permalink
    Definition Classes
    JawaElement
  50. def isConcrete: Boolean

    Permalink
    Definition Classes
    JawaFieldJawaElement
  51. 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
  52. def isField: Boolean

    Permalink
    Definition Classes
    JawaElement
  53. def isFinal: Boolean

    Permalink

    return true if this class is final

    return true if this class is final

    Definition Classes
    JawaElement
  54. 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
  55. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  56. 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
  57. 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
  58. def isJawaConstructor(name: String): Boolean

    Permalink
    Definition Classes
    JavaKnowledge
  59. def isMethod: Boolean

    Permalink
    Definition Classes
    JawaElement
  60. def isNative: Boolean

    Permalink

    return true if this method is native

    return true if this method is native

    Definition Classes
    JawaElement
  61. def isObject: Boolean

    Permalink

    return true if the field is object type

  62. def isPrivate: Boolean

    Permalink

    return true if this class is private

    return true if this class is private

    Definition Classes
    JawaElement
  63. def isProtected: Boolean

    Permalink

    return true if this class is protected

    return true if this class is protected

    Definition Classes
    JawaElement
  64. def isPublic: Boolean

    Permalink

    return true if this class is public

    return true if this class is public

    Definition Classes
    JawaElement
  65. def isStatic: Boolean

    Permalink

    return true if this class is static

    return true if this class is static

    Definition Classes
    JawaElement
  66. def isUnknown: Boolean

    Permalink

    return true if this class is unknown class

    return true if this class is unknown class

    Definition Classes
    JawaElement
  67. 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
  68. 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
  69. def isValidMethodFullName(mfn: String): Boolean

    Permalink

    e.g.

    e.g. java.lang.Throwable.run

    Definition Classes
    JavaKnowledge
  70. val name: String

    Permalink

    name of the field.

    name of the field. e.g. stackState

  71. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  74. def printDetail(): Unit

    Permalink
  75. def propertyEmpty: Boolean

    Permalink
    Definition Classes
    PropertyProvider
  76. val propertyMap: MLinkedMap[Key, Any]

    Permalink

    supply property

    supply property

    Definition Classes
    JawaElement → PropertyProvider
  77. def removeProperty(key: Key): Option[Any]

    Permalink
    Definition Classes
    PropertyProvider
  78. 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
  79. def setProperty[T](key: Key, value: T): Option[T]

    Permalink
    Definition Classes
    PropertyProvider
  80. def setUnknown(): Unit

    Permalink
    Definition Classes
    JawaElement
  81. def staticInitializerName: String

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

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

    Permalink
    Definition Classes
    JawaField → AnyRef → Any
  84. val typ: JawaType

    Permalink

    JawaType of the field

  85. var unknown: Boolean

    Permalink

    unknown means it's not available in our code repo

    unknown means it's not available in our code repo

    Attributes
    protected
    Definition Classes
    JawaElement
  86. def update[T](key: Key, value: T): Unit

    Permalink
    Definition Classes
    PropertyProvider
  87. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JavaKnowledge

Inherited from JawaElement

Inherited from PropertyProvider

Inherited from AnyRef

Inherited from Any

Ungrouped