private static class SourceNameMapper.ExternalProgram
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayDeque<InternalEntry> |
ieList
List of all internal entries, as they appear in the name_map file.
|
(package private) java.lang.String |
internalEntries
The
internal-entry attribute for this external program,
without private members. |
(package private) java.lang.String |
internalEntriesPrv
The
internal-entry attribute for this external program,
with private members. |
(package private) java.util.Map<java.lang.String,InternalEntry> |
j2pf
Provide fast access to the legacy name of a specified java function
name.
|
(package private) java.util.Map<java.lang.String,InternalEntry> |
j2pp
Provide fast access to the legacy name of a specified java procedure
name.
|
(package private) java.lang.String |
jname
Converted Java name for this external program.
|
(package private) InternalEntry |
main
The internal-entry associated with the MAIN (external) procedure.
|
(package private) java.util.Map<java.lang.String,InternalEntry> |
p2jf
Provide fast access to the java name of a specified legacy function
name.
|
(package private) java.util.Map<java.lang.String,InternalEntry> |
p2jp
Provide fast access to the java name of a specified legacy procedure
name.
|
(package private) java.lang.String |
pname
Legacy 4GL name for this external program.
|
(package private) java.lang.String |
publishedEvents
The named events published by this procedure.
|
Constructor and Description |
---|
ExternalProgram(java.lang.String pname,
java.lang.String jname,
java.lang.String publishedEvents)
Basic c'tor.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
getInternalEntries(boolean prv)
Gets the
internal-entry attribute for this external
program. |
(package private) InternalEntry |
search(java.lang.String pname,
boolean function)
Search the
internal-entry list for the specified
name, using the function flag to search only for
functions or only for procedures. |
(package private) InternalEntry |
searchLocalj(java.lang.String jname)
Search the fast-access j2p maps for a function or procedure.
|
(package private) InternalEntry |
searchp(java.lang.String pname,
boolean function)
Search the fast-access p2j maps for a function or procedure, using
the
function flag. |
java.lang.String pname
java.lang.String jname
java.lang.String publishedEvents
java.util.ArrayDeque<InternalEntry> ieList
java.util.Map<java.lang.String,InternalEntry> p2jf
java.util.Map<java.lang.String,InternalEntry> p2jp
java.util.Map<java.lang.String,InternalEntry> j2pf
java.util.Map<java.lang.String,InternalEntry> j2pp
java.lang.String internalEntries
internal-entry
attribute for this external program,
without private members.java.lang.String internalEntriesPrv
internal-entry
attribute for this external program,
with private members.InternalEntry main
ExternalProgram(java.lang.String pname, java.lang.String jname, java.lang.String publishedEvents)
pname
- Legacy 4GL name for this external program.jname
- Converted Java name for this external program.publishedEvents
- The named events published by this procedure.java.lang.String getInternalEntries(boolean prv)
internal-entry
attribute for this external
program. If this is the first access, it initializes it.prv
- Flag to include or not the private members.InternalEntry search(java.lang.String pname, boolean function)
internal-entry list
for the specified
name, using the function
flag to search only for
functions or only for procedures.pname
- Legacy 4GL name for the search internal-entry.function
- true
if search for a functionInternalEntry
instance, or null
if
it was not found.InternalEntry searchp(java.lang.String pname, boolean function)
function
flag.pname
- Legacy 4GL name for the search internal-entry.function
- true
if search for a functionInternalEntry
instance, or null
if
it was not found.InternalEntry searchLocalj(java.lang.String jname)
SourceNameMapper.ExternalProgram
.jname
- Java method name.InternalEntry
instance, or null
if
it was not found.