Class

org.argus.jawa.core.pilarCodeGenerator

MethodGenerator

Related Doc: package pilarCodeGenerator

Permalink

abstract class MethodGenerator extends AnyRef

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

Instance Constructors

  1. new MethodGenerator(global: Global)

    Permalink

Type Members

  1. class CodeFragmentGenerator extends AnyRef

    Permalink
    Attributes
    protected

Abstract Value Members

  1. abstract def generateInternal(methods: List[Signature]): String

    Permalink

Concrete 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 addCallbackMethods(clazz: JawaClass, parentClassLocalVar: String, codefg: CodeFragmentGenerator): Unit

    Permalink
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val bodyTemplate: ST

    Permalink
    Attributes
    protected
  7. var callbackFunctions: IMap[JawaType, ISet[Signature]]

    Permalink

    Map from class (i.e.

    Map from class (i.e. container class) to list of callback method

    Attributes
    protected
  8. var classes: ISet[JawaType]

    Permalink
    Attributes
    protected
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. var codeCounter: Int

    Permalink
    Attributes
    protected
  11. val codeFragments: ArrayList[CodeFragmentGenerator]

    Permalink
    Attributes
    protected
  12. var conditionCounter: Int

    Permalink
    Attributes
    protected
  13. def createFieldSetStmt(base: String, field: String, rhs: String, annoTyps: List[String], fieldType: String, codefg: CodeFragmentGenerator): Boolean

    Permalink
    Attributes
    protected
  14. def createGotoStmt(targetfg: CodeFragmentGenerator, codefg: CodeFragmentGenerator): AnyVal

    Permalink
    Attributes
    protected
  15. def createIfStmt(targetfg: CodeFragmentGenerator, codefg: CodeFragmentGenerator): AnyVal

    Permalink
    Attributes
    protected
  16. def createReturnStmt(variable: String, codefg: CodeFragmentGenerator): Boolean

    Permalink
    Attributes
    protected
  17. var currentComponent: JawaType

    Permalink
    Attributes
    protected
  18. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def findMethod(currentClass: JawaClass, subSig: String): Option[JawaMethod]

    Permalink
    Attributes
    protected
  22. def generate(methods: List[Signature], name: String): (JawaMethod, String)

    Permalink

    generate environment with predefined methods list

  23. def generate(name: String): (JawaMethod, String)

    Permalink
  24. def generateBody(): ArrayList[String]

    Permalink
    Attributes
    protected
  25. def generateCallToAllCallbacks(callbackClass: JawaClass, callbackMethods: Set[JawaMethod], classLocalVar: String, codefg: CodeFragmentGenerator): Unit

    Permalink
    Attributes
    protected
  26. def generateClassConstructor(r: JawaClass, constructionStack: MSet[JawaType], codefg: CodeFragmentGenerator): Signature

    Permalink
  27. def generateExpAnnotation(flag: String, exps: List[String]): ST

    Permalink
    Attributes
    protected
  28. def generateInstanceCreation(classType: JawaType, codefg: CodeFragmentGenerator): String

    Permalink
    Attributes
    protected
  29. def generateMethodCall(pSig: Signature, typ: String, localClassVar: String, constructionStack: MSet[JawaType], codefg: CodeFragmentGenerator): Unit

    Permalink
    Attributes
    protected
  30. def generateWithParam(params: List[JawaType], name: String): (JawaMethod, String)

    Permalink
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def getCodeCounter: Int

    Permalink
  33. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  34. def initMethodHead(retTyp: String, methodName: String, owner: String, signature: Signature, access: String): ST

    Permalink
    Attributes
    protected
  35. def isCompatible(actual: JawaClass, expected: JawaClass): Boolean

    Permalink
    Attributes
    protected
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. val localVars: ArrayList[String]

    Permalink
    Attributes
    protected
  38. var localVarsForClasses: IMap[JawaType, String]

    Permalink

    Map of it's local variables

    Map of it's local variables

    Attributes
    protected
  39. val localVarsTemplate: ST

    Permalink
    Attributes
    protected
  40. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  43. var paramClasses: ISet[JawaType]

    Permalink

    Set of param's clazz name

    Set of param's clazz name

    Attributes
    protected
  44. val procDeclTemplate: ST

    Permalink
    Attributes
    protected
  45. def searchAndBuildMethodCall(subsignature: String, clazz: JawaClass, entryPoints: MList[Signature], constructionStack: MSet[JawaType], codefg: CodeFragmentGenerator): Any

    Permalink
    Attributes
    protected
  46. def setCallbackFunctions(callbackFunctions: IMap[JawaType, ISet[Signature]]): Unit

    Permalink

    Sets the list of callback functions to be integrated into the Android lifecycle

    Sets the list of callback functions to be integrated into the Android lifecycle

    callbackFunctions

    The list of callback functions to be integrated into the Android lifecycle. This is a mapping from the Android element class (activity, service, etc.) to the list of callback methods for that element.

  47. def setCodeCounter(codeCtr: Int): Unit

    Permalink
  48. def setCurrentComponent(clazz: JawaType): Unit

    Permalink
  49. def setEntryPointClasses(classes: ISet[JawaType]): Unit

    Permalink

    Registers a list of classes to be automatically scanned for Android lifecycle methods

    Registers a list of classes to be automatically scanned for Android lifecycle methods

    classes

    The list of classes to be automatically scanned for Android lifecycle methods

  50. def setSubstituteClassMap(map: IMap[JawaType, JawaType]): Unit

    Permalink

    set the substituteClassMap

  51. var substituteClassMap: IMap[JawaType, JawaType]

    Permalink

    map from a clazz to it's substitute clazz

    map from a clazz to it's substitute clazz

    Attributes
    protected
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  53. val template: STGroupString

    Permalink
    Attributes
    protected
  54. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  55. val varGen: VariableGenerator

    Permalink
    Attributes
    protected
  56. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped