< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.api.replacements/src/org/graalvm/compiler/api/replacements/Fold.java

Print this page
rev 52889 : 8214023: Update Graal

*** 1,7 **** /* ! * Copyright (c) 2014, 2014, 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) 2014, 2018, 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.
*** 40,50 **** @Target(ElementType.METHOD) public @interface Fold { /** * Annotates a parameter to an {@link Fold}-annotated method. This parameter will be ! * automatically injected by the compiler. The caller should always pass {@code null}. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) public @interface InjectedParameter { } --- 40,51 ---- @Target(ElementType.METHOD) public @interface Fold { /** * Annotates a parameter to an {@link Fold}-annotated method. This parameter will be ! * automatically injected by the compiler. A call from non-generated code must always pass ! * {@code null} for an injected parameter. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) public @interface InjectedParameter { }
< prev index next >