Searched refs:Wrap (Results 1 - 23 of 23) sorted by relevance

/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/lang/
H A DBridge_method01.java33 private abstract static class Wrap<T> { class in class:Bridge_method01
38 private static class IWrap extends Wrap<Integer> {
46 private static Wrap<Integer> wrapped = new IWrap();
/openjdk10/langtools/src/jdk.jshell/share/classes/jdk/jshell/
H A DWrap.java38 abstract class Wrap implements GeneralWrap { class in inherits:GeneralWrap
40 private static Wrap methodWrap(String prefix, String source, String suffix) {
41 Wrap wunit = new NoWrap(source);
45 public static Wrap methodWrap(String source) {
49 public static Wrap methodReturnWrap(String source) {
53 public static Wrap methodUnreachableSemiWrap(String source) {
57 public static Wrap methodUnreachableWrap(String source) {
77 public static Wrap varWrap(String source, Range rtype, String brackets, Range rname, Range rinit) {
80 Wrap wVarDecl = new VarDeclareWrap(wtype, brackets, wname);
81 Wrap wmet
[all...]
H A DDeclarationSnippet.java53 private final Wrap corralled;
57 DeclarationSnippet(DeclarationKey key, String userSource, Wrap guts,
58 String unitName, SubKind subkind, Wrap corralled,
74 Wrap corralled() {
H A DOuterSnippetsClassWrap.java32 import jdk.jshell.Wrap.CompoundWrap;
41 private final LinkedHashMap<Wrap, Snippet> wrapToSnippet;
43 OuterSnippetsClassWrap(String className, CompoundWrap w, List<Snippet> snippets, List<Wrap> wraps) {
54 Wrap wrap = ((CompoundWrap)w).wrapLineToWrap(wline);
64 Wrap wrap = ((CompoundWrap) w).wrapIndexToWrap(diag.getPosition());
H A DTypeDeclSnippet.java44 TypeDeclSnippet(TypeDeclKey key, String userSource, Wrap guts,
45 String unitName, SubKind subkind, Wrap corralled,
H A DPersistentSnippet.java42 PersistentSnippet(Key key, String userSource, Wrap guts, String unitName,
H A DStatementSnippet.java43 StatementSnippet(StatementKey key, String userSource, Wrap guts) {
H A DErroneousSnippet.java44 ErroneousSnippet(ErroneousKey key, String userSource, Wrap guts,
H A DExpressionSnippet.java43 ExpressionSnippet(ExpressionKey key, String userSource, Wrap guts, String name, SubKind subkind) {
H A DOuterImportSnippetWrap.java39 OuterImportSnippetWrap(Wrap wrap, Snippet snippet) {
H A DOuterWrapMap.java37 import jdk.jshell.Wrap.CompoundWrap;
65 private CompoundWrap wrappedInClass(String className, String imports, List<Wrap> wraps) {
75 List<Snippet> snippets, List<Wrap> wraps) {
88 OuterWrap wrapInTrialClass(Wrap wrap) {
95 OuterWrap wrapImport(Wrap guts, Snippet sn) {
H A DVarSnippet.java46 VarSnippet(VarKey key, String userSource, Wrap guts,
H A DMethodSnippet.java47 MethodSnippet(MethodKey key, String userSource, Wrap guts,
48 String name, String signature, Wrap corralled,
H A DEval.java62 import jdk.jshell.Wrap.Range;
215 Wrap guts = Wrap.simpleWrap(compileSource);
307 Wrap guts = Wrap.varWrap(compileSource, rtype, sbBrackets.toString(), rname, rinit);
321 Wrap guts;
349 guts = Wrap.tempVarWrap(compileSource, typeName, name);
354 guts = Wrap.methodReturnWrap(compileSource);
359 guts = Wrap.methodWrap(compileSource);
364 guts = Wrap
[all...]
H A DImportSnippet.java48 ImportSnippet(ImportKey key, String userSource, Wrap guts,
H A DOuterWrap.java43 protected final Wrap w;
45 OuterWrap(Wrap wrap) {
H A DSnippet.java559 private final Wrap guts;
571 Snippet(Key key, String userSource, Wrap guts, String unitName,
662 Wrap corralled() {
744 Wrap guts() {
H A DCorraller.java56 * Produce a corralled version of the Wrap for a snippet.
81 public Wrap corralType(ClassTree ct) {
86 public Wrap corralMethod(MethodTree mt) {
91 private Wrap corral(Tree tree) {
97 return Wrap.simpleWrap(out.toString());
H A DExpressionToTypeInfo.java147 OuterWrap codeWrap = state.outerMap.wrapInTrialClass(Wrap.methodReturnWrap(code));
H A DUnit.java74 private Wrap activeGuts;
179 List<Wrap> wraps = units.stream()
H A DTreeDissector.java44 import jdk.jshell.Wrap.Range;
H A DSourceCodeAnalysisImpl.java278 codeWrap = proc.outerMap.wrapImport(Wrap.simpleWrap(code + "any.any"), null);
282 codeWrap = proc.outerMap.wrapInTrialClass(Wrap.classMemberWrap(code));
285 codeWrap = proc.outerMap.wrapInTrialClass(Wrap.methodWrap(code));
1160 OuterWrap codeWrap = proc.outerMap.wrapInTrialClass(Wrap.methodWrap(code));
1497 codeWrap = proc.outerMap.wrapInTrialClass(Wrap.classMemberWrap(code));
1500 codeWrap = proc.outerMap.wrapInTrialClass(Wrap.methodWrap(code));
/openjdk10/langtools/test/tools/javac/
H A DT6403466.java44 @Wrap
45 @SupportedAnnotationTypes("Wrap")
109 @interface Wrap { interface

Completed in 191 milliseconds