|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vishia.java2C.ClassData.MethodOverrideCheck
private static class ClassData.MethodOverrideCheck
Instances of this class are created only temporary while running first pass of this class.
This class stores some data about methods from super classes and interfaces.
After finish first pass this informations are stored in the methods of the class. All methods,
from supers and interfaces too, are stored finally in ClassData.methods
and are provided by ClassData#searchMethod(String, List).
to access it while running second passes (method call).
| Nested Class Summary | |
|---|---|
static class |
ClassData.MethodOverrideCheck.MethodIndex
|
| Field Summary | |
|---|---|
private java.util.List<ClassData.MethodOverrideCheck.MethodIndex> |
listOccurence
Index of all occurences of this method in superclasses and interfaces. |
(package private) Method |
method
The method. |
java.lang.String |
sPathToBase
If the method is declared in a base class or interface too, it is the path necessary to address the base class or interface started from ythis |
(package private) java.lang.String |
sPathToMtbl
The path to the super method table for calling. |
| Constructor Summary | |
|---|---|
ClassData.MethodOverrideCheck(Method method,
java.lang.String sPathToMtbl,
java.lang.String sPathToBase)
Creates. |
|
| Method Summary | |
|---|---|
(package private) void |
addOccurence(ClassData.MethodOverrideable[] ref,
int index)
Adds a occurence of the method in any method table of superclasses or interfaces. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final Method method
listOccurence,
because the method is referenced there.
It is only used for new methods of this class.
final java.lang.String sPathToMtbl
public final java.lang.String sPathToBase
ythis
private final java.util.List<ClassData.MethodOverrideCheck.MethodIndex> listOccurence
| Constructor Detail |
|---|
ClassData.MethodOverrideCheck(Method method,
java.lang.String sPathToMtbl,
java.lang.String sPathToBase)
method - The method which is able to overridesNamePrimary - The primary name of the implementation. The instance will be create
if the method is declared first.| Method Detail |
|---|
void addOccurence(ClassData.MethodOverrideable[] ref,
int index)
ClassData and takes informations from base classes
and interfaces.
ref - reference in any ClassData.InheritanceInfo#methodTable2index - index in the referencepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||