kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/java.proto (about) 1 /* 2 * Copyright 2015 The Kythe Authors. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 syntax = "proto3"; 18 19 package kythe.proto; 20 21 option go_package = "kythe.io/kythe/proto/java_go_proto"; 22 option java_package = "com.google.devtools.kythe.proto"; 23 24 import "kythe/proto/storage.proto"; 25 26 // CompilationUnit details enumerating the contents of each extracted .jar file. 27 message JarDetails { 28 message Jar { 29 VName v_name = 1; 30 31 reserved 2; 32 } 33 34 repeated Jar jar = 1; 35 } 36 37 // CompilationUnit.FileInput details connecting a file to its enclosing jar. 38 message JarEntryDetails { 39 // Index into JarDetails for this file's jar container. 40 int32 jar_container = 1; 41 } 42 43 // Java-specific details used in a CompilationUnit. 44 // Its type is "kythe.io/proto/kythe.proto.JavaDetails". 45 message JavaDetails { 46 // List of classpaths used in the compilation. 47 repeated string classpath = 1; 48 49 // List of sourcepaths used in the compilation. 50 repeated string sourcepath = 2; 51 52 // List of bootclasspaths used in the compilation. 53 repeated string bootclasspath = 3; 54 55 // List of additional JavaC arguments identified by the extractor as 56 // necessary for analysis, but not included in the argument list. 57 repeated string extra_javacopts = 10; 58 }