src/jdk.dynalink/share/classes/jdk/dynalink/NamespaceOperation.java
changeset 54547 53aecb049e0a
parent 50695 36ca515343e0
equal deleted inserted replaced
54546:460996cd27f9 54547:53aecb049e0a
    87  * Operation getElementOrPropertyEmpty =
    87  * Operation getElementOrPropertyEmpty =
    88  *     StandardOperation.GET
    88  *     StandardOperation.GET
    89  *         .withNamespace(StandardNamespace.PROPERTY)
    89  *         .withNamespace(StandardNamespace.PROPERTY)
    90  *         .named("color");
    90  *         .named("color");
    91  * </pre>
    91  * </pre>
    92  * <h3>Operations on multiple namespaces</h3>
    92  * <h2>Operations on multiple namespaces</h2>
    93  * If multiple namespaces are specified, the namespaces are treated as
    93  * If multiple namespaces are specified, the namespaces are treated as
    94  * alternatives to each other in order of preference. The semantics of
    94  * alternatives to each other in order of preference. The semantics of
    95  * such operation is "first applicable".
    95  * such operation is "first applicable".
    96  * That is, a composite of {@code GET:PROPERTY|ELEMENT:color} should be
    96  * That is, a composite of {@code GET:PROPERTY|ELEMENT:color} should be
    97  * interpreted as <i>get the property named "color" on the object, but if the
    97  * interpreted as <i>get the property named "color" on the object, but if the