org.vishia.java2C
Class ReadStructure.Zbnf_Method

java.lang.Object
  extended by org.vishia.java2C.ReadStructure.Zbnf_Method
Enclosing class:
ReadStructure

public static class ReadStructure.Zbnf_Method
extends java.lang.Object

Subclass to pour in the result of the method::=... subsyntax. Only a singleton instance is created. It is reused, calling init() before, if

is called because any <method> were parsed with syntax
 method::= method ; <*;?keyName> ; <$?javaName> ; <$?CName> ;
           return ;  
           [{ param (  ) }]
 
. If the appropriate methods is called, the content of the singleton is read out and stored in the appropriate destination data structure, that is Method. This temporary instance is used straighten out, because the structure of syntax is not so opportune for storing in Method directly.


Field Summary
private  boolean bClassSuffixName
           
 java.lang.String implementationSuffix
           
private  int modifier
           
private  ReadStructure.Zbnf_Field returnType1
           
private  java.lang.String sClassIdentNameC
           
private  java.lang.String sCName
           
private  java.lang.String sDefClass
           
private  java.lang.String sDefMethodUnambigous
           
private  java.lang.String sDefPkg
           
private  java.lang.String sImplementationName
           
private  java.lang.String sKeyName
           
private  java.lang.String sNameJava
           
private  java.lang.String sNameUnambiguous
           
private  java.lang.String sOverriddenName
           
private  java.util.List<ReadStructure.Zbnf_Field> zbnfParam
           
 
Constructor Summary
ReadStructure.Zbnf_Method(java.lang.String sClassIdentNameC)
           
 
Method Summary
 void add_param(ReadStructure.Zbnf_Field param1)
           
 void add_returnType(ReadStructure.Zbnf_Field dummy)
           
private  void init()
           
 ReadStructure.Zbnf_Field new_param()
           
 ReadStructure.Zbnf_Field new_returnType()
           
 void set_classSuffixName()
          From ZBNF: method::= ... [$
 void set_CName(java.lang.String value)
           
 void set_defClass(java.lang.String value)
          From ZBNF: method::= ... <*\.?
 void set_defClassAndMethodUnambigous(java.lang.String value)
          From ZBNF: method::= ... <$?
 void set_defPkg(java.lang.String value)
          From ZBNF: method::= ... <.toLastCharIncl:/?
 void set_ImplementationName(java.lang.String value)
           
 void set_javaName(java.lang.String value)
          From ZBNF: method::= ... <$?
 void set_keyName(java.lang.String value)
           
 void set_modeCtor()
          From ZBNF: method::= ... mode: { ... ctor
 void set_modeCtorAnonymous()
          From ZBNF: method::= ... mode: { ...
 void set_modeCtorNonStatic()
          From ZBNF: method::= ... mode: { ...
 void set_modeNoStacktrace()
          From ZBNF: method::= ... mode: { ... noStacktrace
 void set_modeNoThCxt()
          From ZBNF: method::= ... mode: { ... noThCxt
 void set_modeOverrideable()
          From ZBNF: method::= ... mode: { ... overrideable
 void set_modeReturnNew()
          From ZBNF: method::= ... mode: { ... returnThis
 void set_modeReturnNonPersistring()
          From ZBNF: method::= ... mode: { ... returnThis
 void set_modeReturnThis()
          From ZBNF: method::= ... mode: { ... returnThis
 void set_modeStatic()
          From ZBNF: method::= ... mode: { ... static
 void set_NameUnambiguous(java.lang.String value)
           
 void set_OverriddenName(java.lang.String value)
           
 void set_suffixName(java.lang.String value)
          From ZBNF: method::= ... <$?
 void set_unambigouosName(java.lang.String value)
          From ZBNF: method::= ... <$?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sClassIdentNameC

private final java.lang.String sClassIdentNameC

sNameJava

private java.lang.String sNameJava

sCName

private java.lang.String sCName

sNameUnambiguous

private java.lang.String sNameUnambiguous

sImplementationName

private java.lang.String sImplementationName

sOverriddenName

private java.lang.String sOverriddenName

sKeyName

private java.lang.String sKeyName

bClassSuffixName

private boolean bClassSuffixName

sDefPkg

private java.lang.String sDefPkg

sDefClass

private java.lang.String sDefClass

sDefMethodUnambigous

private java.lang.String sDefMethodUnambigous

returnType1

private final ReadStructure.Zbnf_Field returnType1

zbnfParam

private java.util.List<ReadStructure.Zbnf_Field> zbnfParam

modifier

private int modifier

implementationSuffix

public java.lang.String implementationSuffix
Constructor Detail

ReadStructure.Zbnf_Method

ReadStructure.Zbnf_Method(java.lang.String sClassIdentNameC)
Method Detail

new_returnType

public ReadStructure.Zbnf_Field new_returnType()

add_returnType

public void add_returnType(ReadStructure.Zbnf_Field dummy)

new_param

public ReadStructure.Zbnf_Field new_param()

add_param

public void add_param(ReadStructure.Zbnf_Field param1)

set_keyName

public void set_keyName(java.lang.String value)

set_javaName

public void set_javaName(java.lang.String value)
From ZBNF: method::= ... <$?javaName>...


set_NameUnambiguous

public void set_NameUnambiguous(java.lang.String value)

set_CName

public void set_CName(java.lang.String value)

set_ImplementationName

public void set_ImplementationName(java.lang.String value)

set_OverriddenName

public void set_OverriddenName(java.lang.String value)

set_modeNoThCxt

public void set_modeNoThCxt()
From ZBNF: method::= ... mode: { ... noThCxt...}


set_modeOverrideable

public void set_modeOverrideable()
From ZBNF: method::= ... mode: { ... overrideable...}


set_modeReturnThis

public void set_modeReturnThis()
From ZBNF: method::= ... mode: { ... returnThis...}


set_modeReturnNew

public void set_modeReturnNew()
From ZBNF: method::= ... mode: { ... returnThis...}


set_modeReturnNonPersistring

public void set_modeReturnNonPersistring()
From ZBNF: method::= ... mode: { ... returnThis...}


set_modeStatic

public void set_modeStatic()
From ZBNF: method::= ... mode: { ... static...}


set_modeNoStacktrace

public void set_modeNoStacktrace()
From ZBNF: method::= ... mode: { ... noStacktrace...}


set_modeCtor

public void set_modeCtor()
From ZBNF: method::= ... mode: { ... ctor...}


set_modeCtorNonStatic

public void set_modeCtorNonStatic()
From ZBNF: method::= ... mode: { ... ...}


set_modeCtorAnonymous

public void set_modeCtorAnonymous()
From ZBNF: method::= ... mode: { ... ...}


set_unambigouosName

public void set_unambigouosName(java.lang.String value)
From ZBNF: method::= ... <$?unambigouosName>...


set_suffixName

public void set_suffixName(java.lang.String value)
From ZBNF: method::= ... <$?suffixName>...


set_classSuffixName

public void set_classSuffixName()
From ZBNF: method::= ... [$]...


set_defPkg

public void set_defPkg(java.lang.String value)
From ZBNF: method::= ... <.toLastCharIncl:/?defPkg>...


set_defClass

public void set_defClass(java.lang.String value)
From ZBNF: method::= ... <*\.?defClass>...


set_defClassAndMethodUnambigous

public void set_defClassAndMethodUnambigous(java.lang.String value)
From ZBNF: method::= ... <$?defMethodUnambigous>...


init

private void init()