Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 jdk.jdeps.jmod - JDeps Tool
JDK 11 jdk.jdeps.jmod is the JMOD file for JDK 11 JDeps tool, which can be invoked by the "jdeps" command.
JDK 11 JDeps tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jdeps.jmod.
JDK 11 JDeps tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JDeps tool source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jdeps.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/tools/javap/TypeAnnotationWriter.java
/* * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.tools.javap; import com.sun.tools.classfile.Attribute; import com.sun.tools.classfile.Code_attribute; import com.sun.tools.classfile.TypeAnnotation; import com.sun.tools.classfile.TypeAnnotation.Position; import com.sun.tools.classfile.Instruction; import com.sun.tools.classfile.Method; import com.sun.tools.classfile.RuntimeInvisibleTypeAnnotations_attribute; import com.sun.tools.classfile.RuntimeTypeAnnotations_attribute; import com.sun.tools.classfile.RuntimeVisibleTypeAnnotations_attribute; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.sun.tools.javac.util.StringUtils; /** * Annotate instructions with details about type annotations. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own risk. * This code and its internal interfaces are subject to change or * deletion without notice.</b> */ public class TypeAnnotationWriter extends InstructionDetailWriter { public enum NoteKind { VISIBLE, INVISIBLE } public static class Note { Note(NoteKind kind, TypeAnnotation anno) { this.kind = kind; this.anno = anno; } public final NoteKind kind; public final TypeAnnotation anno; } static TypeAnnotationWriter instance(Context context) { TypeAnnotationWriter instance = context.get(TypeAnnotationWriter.class); if (instance == null) instance = new TypeAnnotationWriter(context); return instance; } protected TypeAnnotationWriter(Context context) { super(context); context.put(TypeAnnotationWriter.class, this); annotationWriter = AnnotationWriter.instance(context); classWriter = ClassWriter.instance(context); } public void reset(Code_attribute attr) { Method m = classWriter.getMethod(); pcMap = new HashMap<>(); check(NoteKind.VISIBLE, (RuntimeVisibleTypeAnnotations_attribute) m.attributes.get(Attribute.RuntimeVisibleTypeAnnotations)); check(NoteKind.INVISIBLE, (RuntimeInvisibleTypeAnnotations_attribute) m.attributes.get(Attribute.RuntimeInvisibleTypeAnnotations)); } private void check(NoteKind kind, RuntimeTypeAnnotations_attribute attr) { if (attr == null) return; for (TypeAnnotation anno: attr.annotations) { Position p = anno.position; Note note = null; if (p.offset != -1) addNote(p.offset, note = new Note(kind, anno)); if (p.lvarOffset != null) { for (int i = 0; i < p.lvarOffset.length; i++) { if (note == null) note = new Note(kind, anno); addNote(p.lvarOffset[i], note); } } } } private void addNote(int pc, Note note) { List<Note> list = pcMap.get(pc); if (list == null) pcMap.put(pc, list = new ArrayList<>()); list.add(note); } @Override void writeDetails(Instruction instr) { String indent = space(2); // get from Options? int pc = instr.getPC(); List<Note> notes = pcMap.get(pc); if (notes != null) { for (Note n: notes) { print(indent); print("@"); annotationWriter.write(n.anno, false, true); print(", "); println(StringUtils.toLowerCase(n.kind.toString())); } } } private AnnotationWriter annotationWriter; private ClassWriter classWriter; private Map<Integer, List<Note>> pcMap; }
⏎ com/sun/tools/javap/TypeAnnotationWriter.java
Or download all of them as a single archive file:
File name: jdk.jdeps-11.0.1-src.zip File size: 244145 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jdi.jmod - JDI Tool
2020-07-07, 31996👍, 0💬
Popular Posts:
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
Oracle Business Intelligence (BI) Beans enables developers to productively build business intelligen...
How to download and install JDK (Java Development Kit) 1.3? If you want to write Java applications, ...
The JMX technology provides the tools for building distributed, Web-based, modular and dynamic solut...
How to download and install ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is a Java 1...