Examples of lookupClass()


Examples of com.volantis.styling.impl.engine.sheet.IndexableStylerList.lookupClass()

                if (classes.indexOf(' ') > -1) {
                    // TODO later - this can probably be more efficient
                    StringTokenizer tokenizer = new StringTokenizer(classes, " ");
                    while (tokenizer.hasMoreTokens()) {
                        String token = tokenizer.nextToken();
                        styler.lookupClass(indexRef, token);
                    }
                } else {
                    styler.lookupClass(indexRef, classes);
                }
            }
View Full Code Here

Examples of com.volantis.styling.impl.engine.sheet.IndexableStylerList.lookupClass()

                    while (tokenizer.hasMoreTokens()) {
                        String token = tokenizer.nextToken();
                        styler.lookupClass(indexRef, token);
                    }
                } else {
                    styler.lookupClass(indexRef, classes);
                }
            }

            // Exclude stylers which require state that isn't present
            BitSet requiresState = styler.stateRequired();
View Full Code Here

Examples of java.lang.invoke.MethodHandles.Lookup.lookupClass()

  public static Object fallback(FunctionCallSite callSite, Object[] args) throws Throwable {
    String functionName = callSite.name;
    MethodType type = callSite.type();
    Lookup caller = callSite.callerLookup;
    Class<?> callerClass = caller.lookupClass();

    MethodHandle handle = null;
    Object result = findStaticMethodOrField(callerClass, functionName, args);
    if (result == null) {
      result = findClassWithStaticMethodOrField(callerClass, functionName, args);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.