< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/JavaMethod.java

Print this page

        

*** 20,30 **** * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.vm.ci.meta; ! import java.util.*; /** * Represents a reference to a Java method, either resolved or unresolved. Methods, like fields and * types, are resolved through {@link ConstantPool constant pools}. */ --- 20,31 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.vm.ci.meta; ! import java.util.IllegalFormatException; ! import java.util.UnknownFormatConversionException; /** * Represents a reference to a Java method, either resolved or unresolved. Methods, like fields and * types, are resolved through {@link ConstantPool constant pools}. */
*** 69,79 **** * * @param format a format specification * @return the result of formatting this method according to {@code format} * @throws IllegalFormatException if an illegal specifier is encountered in {@code format} */ - @SuppressWarnings("fallthrough") default String format(String format) throws IllegalFormatException { StringBuilder sb = new StringBuilder(); int index = 0; Signature sig = null; while (index < format.length()) { --- 70,79 ----
< prev index next >