public class Proto extends AnnotationContainer implements HasOptions
| Modifier and Type | Class and Description |
|---|---|
static interface |
Proto.Loader |
| Constructor and Description |
|---|
Proto() |
Proto(File file) |
Proto(File file,
Proto.Loader loader) |
Proto(File file,
Proto.Loader loader,
Proto importer) |
Proto(Proto.Loader loader) |
Proto(URL url,
Proto.Loader loader,
Proto importer) |
addAnnotations, addDoc, err, getA, getAnnotation, getAnnotationMap, getAnnotations, getDocs, hasAnnotation, isEmptyApublic Proto()
public Proto(File file)
public Proto(Proto.Loader loader)
public Proto(File file, Proto.Loader loader)
public Proto(File file, Proto.Loader loader, Proto importer)
public Proto(URL url, Proto.Loader loader, Proto importer)
public ErrorMap getError()
public File getFile()
public String getSourcePath()
public String getPackageName()
public String getOriginalPackageName()
getPackageName() will have the same
value as this, if the compiler options did not have entries that override it.public String getJavaPackageName()
public String getOriginalJavaPackageName()
getJavaPackageName() will have
the same value as this, if the compiler options did not have entries that override it.public LinkedHashMap<String,Object> getStandardOptions()
public LinkedHashMap<String,Object> getExtraOptions()
public LinkedHashMap<String,Object> getO()
public LinkedHashMap<String,Object> getOptions()
getOptions in interface HasOptionspublic void putStandardOption(String key, Object value)
putStandardOption in interface HasOptionspublic void putExtraOption(String key, Object value)
putExtraOption in interface HasOptionspublic <V> V getExtraOption(String key)
public Collection<Message> getMessages()
public Collection<EnumGroup> getEnumGroups()
public Collection<Service> getServices()
public void addExtension(Extension extension)
public Collection<Extension> getExtensions()
public Collection<Proto> getImportedProtos()
public void add(Annotation annotation)
HasAnnotationsadd in interface HasAnnotationsadd in class AnnotationContainerCopyright © 2009–2021. All rights reserved.