gnu.kawa.functions
Class GetNamedPart
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure2
gnu.kawa.functions.GetNamedPart
- All Implemented Interfaces:
- HasSetter, Named
public class GetNamedPart
- extends Procedure2
- implements HasSetter
Procedure to get the value of a named component of an object.
Methods inherited from class gnu.mapping.Procedure |
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getReturnType, getSourceLocation, isSideEffectFree, match0, match1, match2, match3, match4, matchN, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getNamedPart
public static final GetNamedPart getNamedPart
CLASSTYPE_FOR
public static final java.lang.String CLASSTYPE_FOR
PREFIX:<>
is equivalent to the ClassType
bound to PREFIX
.
- See Also:
- Constant Field Values
CAST_METHOD_NAME
public static final java.lang.String CAST_METHOD_NAME
- Pseudo-method-name for the cast operation.
- See Also:
- Constant Field Values
INSTANCEOF_METHOD_NAME
public static final java.lang.String INSTANCEOF_METHOD_NAME
- Pseudo-method-name for class-membership-test (instanceof) operation.
- See Also:
- Constant Field Values
GetNamedPart
public GetNamedPart()
apply2
public java.lang.Object apply2(java.lang.Object container,
java.lang.Object part)
throws java.lang.Throwable
- Specified by:
apply2
in class Procedure2
- Throws:
java.lang.Throwable
getTypePart
public static java.lang.Object getTypePart(Type type,
java.lang.String name)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getNamedPart
public static java.lang.Object getNamedPart(java.lang.Object container,
Symbol part)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getMemberPart
public static java.lang.Object getMemberPart(java.lang.Object container,
java.lang.String name)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getSetter
public Procedure getSetter()
- Specified by:
getSetter
in interface HasSetter
- Overrides:
getSetter
in class Procedure