< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethod.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,35 **** * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.vm.ci.hotspot; ! import static java.util.FormattableFlags.*; ! import java.util.*; ! import jdk.vm.ci.meta.*; ! public abstract class HotSpotMethod implements JavaMethod, Formattable /* , JavaMethodContex */{ public static String applyFormattingFlagsAndWidth(String s, int flags, int width) { if (flags == 0 && width < 0) { return s; } --- 20,40 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.vm.ci.hotspot; ! import static java.util.FormattableFlags.ALTERNATE; ! import static java.util.FormattableFlags.LEFT_JUSTIFY; ! import static java.util.FormattableFlags.UPPERCASE; ! import java.util.Formattable; ! import java.util.Formatter; ! import jdk.vm.ci.meta.JavaMethod; ! import jdk.vm.ci.meta.ResolvedJavaMethod; ! ! abstract class HotSpotMethod implements JavaMethod, Formattable /* , JavaMethodContex */{ public static String applyFormattingFlagsAndWidth(String s, int flags, int width) { if (flags == 0 && width < 0) { return s; }
< prev index next >