|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.dynamicjava.symbol.JavaClass.JavaConstructor
protected class JavaClass.JavaConstructor
Non-static in order to determine the outer type.
| Field Summary | |
|---|---|
protected Constructor<?> |
_k
|
protected Type |
_outerType
|
| Constructor Summary | |
|---|---|
JavaClass.JavaConstructor(Constructor<?> k)
|
|
| Method Summary | |
|---|---|
Access |
accessibility()
The symbol's access level. |
Access.Module |
accessModule()
Get the module enclosing this symbol's declaration. |
String |
declaredName()
The name used to access this symbol. |
DJConstructor |
declaredSignature()
Get the original declared constructor (prior to any substitutions, etc). |
DJClass |
declaringClass()
The class declaring this constructor. |
Object |
evaluate(Object outer,
Iterable<Object> args,
RuntimeBindings bindings,
Options options)
Invoke the constructor with the given parameters. |
protected Thunk<Iterable<LocalVariable>> |
makeParamThunk()
|
Iterable<LocalVariable> |
parameters()
|
Type |
returnType()
|
Iterable<Type> |
thrownTypes()
|
String |
toString()
|
Iterable<VariableType> |
typeParameters()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Constructor<?> _k
protected final Type _outerType
| Constructor Detail |
|---|
public JavaClass.JavaConstructor(Constructor<?> k)
| Method Detail |
|---|
public String declaredName()
Access.Limited
declaredName in interface Access.LimiteddeclaredName in interface Functionpublic DJClass declaringClass()
DJConstructor
declaringClass in interface DJConstructorpublic Access accessibility()
Access.Limited
accessibility in interface Access.Limitedaccessibility in interface DJConstructorpublic Access.Module accessModule()
Access.Limited
accessModule in interface Access.LimitedaccessModule in interface DJConstructorprotected Thunk<Iterable<LocalVariable>> makeParamThunk()
public Iterable<VariableType> typeParameters()
typeParameters in interface Functionpublic DJConstructor declaredSignature()
DJConstructor
declaredSignature in interface DJConstructorpublic Iterable<LocalVariable> parameters()
parameters in interface Functionpublic Type returnType()
returnType in interface Functionpublic Iterable<Type> thrownTypes()
thrownTypes in interface Function
public Object evaluate(Object outer,
Iterable<Object> args,
RuntimeBindings bindings,
Options options)
throws EvaluatorException
DJConstructorouter may be null.
evaluate in interface DJConstructorEvaluatorExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||