D
Dennis
In class Object, getClass() returns a Class object representing
whatever object the method was called on. In something like:
initialize(UserContext.class);
protected void initialize (Class cls){
initializeAtributes(cls);
initializeDomains(cls);
}
something similar appears to be happening with _class_. What is this
and where is _class_ defined? It looks like UserContext, or something
it's extending, has an attribute named _class_, but I don't see it
anywhere. Also, MyEclipse highlights this along with other java
keywords. I've poked around the language specification but couldn't
find anything about it.
Someone embarrass me and tell me where it is in the spec. Please.
Thanks.
whatever object the method was called on. In something like:
initialize(UserContext.class);
protected void initialize (Class cls){
initializeAtributes(cls);
initializeDomains(cls);
}
something similar appears to be happening with _class_. What is this
and where is _class_ defined? It looks like UserContext, or something
it's extending, has an attribute named _class_, but I don't see it
anywhere. Also, MyEclipse highlights this along with other java
keywords. I've poked around the language specification but couldn't
find anything about it.
Someone embarrass me and tell me where it is in the spec. Please.
Thanks.