|
||||||||||
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.Limited
declaredName
in interface Function
public DJClass declaringClass()
DJConstructor
declaringClass
in interface DJConstructor
public Access accessibility()
Access.Limited
accessibility
in interface Access.Limited
accessibility
in interface DJConstructor
public Access.Module accessModule()
Access.Limited
accessModule
in interface Access.Limited
accessModule
in interface DJConstructor
protected Thunk<Iterable<LocalVariable>> makeParamThunk()
public Iterable<VariableType> typeParameters()
typeParameters
in interface Function
public DJConstructor declaredSignature()
DJConstructor
declaredSignature
in interface DJConstructor
public Iterable<LocalVariable> parameters()
parameters
in interface Function
public Type returnType()
returnType
in interface Function
public Iterable<Type> thrownTypes()
thrownTypes
in interface Function
public Object evaluate(Object outer, Iterable<Object> args, RuntimeBindings bindings, Options options) throws EvaluatorException
DJConstructor
outer
may be null.
evaluate
in interface DJConstructor
EvaluatorException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |