/external/doclava/src/com/google/doclava/ |
D | SourcePositionInfo.java | 19 public class SourcePositionInfo implements Comparable { class 20 public static final SourcePositionInfo UNKNOWN = new SourcePositionInfo("(unknown)", 0, 0); 22 public SourcePositionInfo(String file, int line, int column) { in SourcePositionInfo() method in SourcePositionInfo 28 public SourcePositionInfo(SourcePositionInfo that) { in SourcePositionInfo() method in SourcePositionInfo 40 public static SourcePositionInfo add(SourcePositionInfo that, String str, int index) { in add() 53 return new SourcePositionInfo(that.file, line, 0); in add() 56 public static SourcePositionInfo findBeginning(SourcePositionInfo that, String str) { in findBeginning() 69 return new SourcePositionInfo(that.file, line, 0); in findBeginning() 78 SourcePositionInfo that = (SourcePositionInfo) o; in compareTo() 87 public static SourcePositionInfo fromXml(String source) { in fromXml() [all …]
|
D | AndroidAuxSource.java | 44 null, SourcePositionInfo.UNKNOWN)); in classAuxTags() 47 SourcePositionInfo.UNKNOWN)); in classAuxTags() 60 null, SourcePositionInfo.UNKNOWN)); in classAuxTags() 64 null, SourcePositionInfo.UNKNOWN)); in classAuxTags() 72 tags.add(new AuxTagInfo("@service", "@service", SourcePositionInfo.UNKNOWN, args, in classAuxTags() 176 SourcePositionInfo.UNKNOWN)); in auxTags() 183 tags.add(new AuxTagInfo("@permission", "@permission", SourcePositionInfo.UNKNOWN, args, in auxTags() 208 SourcePositionInfo.UNKNOWN)); in auxTags() 215 null, SourcePositionInfo.UNKNOWN)); in auxTags() 218 tags.add(new AuxTagInfo("@feature", "@feature", SourcePositionInfo.UNKNOWN, args, in auxTags() [all …]
|
D | DocInfo.java | 26 public DocInfo(String rawCommentText, SourcePositionInfo sp) { in DocInfo() 84 public SourcePositionInfo position() { in position() 88 public void setPosition(SourcePositionInfo position) { in setPosition() 169 SourcePositionInfo mPosition;
|
D | Comment.java | 55 public Comment(String text, ContainerInfo base, SourcePositionInfo sp) { in Comment() 59 mPosition = SourcePositionInfo.findBeginning(sp, text); in Comment() 132 SourcePositionInfo pos = SourcePositionInfo.add(mPosition, mText, 0); in parseMainDescription() 191 private void parseInlineTag(String text, int start, int end, SourcePositionInfo pos) { in parseInlineTag() 288 SourcePositionInfo pos = SourcePositionInfo.add(mPosition, mText, startOfBlock); in parseBlock() 325 private void tag(String name, String text, boolean isInline, SourcePositionInfo pos) { in tag() 399 pos == null ? null : new SourcePositionInfo(pos), in tag() 402 Errors.error(Errors.UNKNOWN_TAG, pos == null ? null : new SourcePositionInfo(pos), in tag() 599 SourcePositionInfo.add(mPosition, mText, 0))); in initImpl() 644 SourcePositionInfo mPosition;
|
D | Linter.java | 22 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter() 36 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
|
D | ParamTagInfo.java | 38 ParamTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo sp) { in ParamTagInfo() 42 ParamTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo sp, in ParamTagInfo() 63 String parameterComment, String parameterName, ContainerInfo base, SourcePositionInfo sp) { in ParamTagInfo()
|
D | ParameterInfo.java | 28 SourcePositionInfo position, List<AnnotationInstanceInfo> annotationInstanceInfos) { in ParameterInfo() 58 SourcePositionInfo position() { in position() 109 SourcePositionInfo mPosition;
|
D | TagInfo.java | 45 private SourcePositionInfo mPosition; 47 TagInfo(String n, String k, String t, SourcePositionInfo sp) { in TagInfo() 66 SourcePositionInfo position() { in position()
|
D | ParsedTagInfo.java | 33 ParsedTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo sp) { in ParsedTagInfo() 34 super(name, kind, text, SourcePositionInfo.findBeginning(sp, text)); in ParsedTagInfo()
|
D | AndroidLinter.java | 119 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter() 128 private static void lintVariable(SourcePositionInfo pos, String ident, TypeInfo type, in lintVariable() 162 private static void lintCommon(SourcePositionInfo pos, TagInfo... tags) { in lintCommon()
|
D | ThrowsTagInfo.java | 36 SourcePositionInfo sp) { in ThrowsTagInfo() 53 String exceptionComment, ContainerInfo base, SourcePositionInfo sp) { in ThrowsTagInfo()
|
D | Errors.java | 33 final SourcePositionInfo pos; 36 ErrorMessage(int r, Error e, SourcePositionInfo p, String m) { in ErrorMessage() 104 public static void error(Error error, SourcePositionInfo where, String text) { in error() 118 where = new SourcePositionInfo("unknown", 0, 0); in error()
|
D | ArtifactTagger.java | 79 Errors.error(Errors.BROKEN_ARTIFACT_FILE, (SourcePositionInfo) null, in tagAll() 128 Errors.error(Errors.BROKEN_ARTIFACT_FILE, (SourcePositionInfo) null, "Class " in applyArtifactsFromSpec()
|
D | SampleTagInfo.java | 74 SourcePositionInfo position) { in SampleTagInfo() 122 static String loadInclude(SourcePositionInfo pos, String filename, String id, boolean trim) { in loadInclude() 211 static String readFile(SourcePositionInfo pos, String filename, String id, boolean trim, in readFile()
|
D | FederationTagger.java | 104 Errors.error(Errors.NO_FEDERATION_DATA, (SourcePositionInfo) null, in initialize() 122 Errors.error(Errors.NO_FEDERATION_DATA, (SourcePositionInfo) null, error); in initialize()
|
D | AttrTagInfo.java | 50 …AttrTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo position… in AttrTagInfo() 57 void parse(String text, ContainerInfo base, SourcePositionInfo position) { in parse()
|
D | TextTagInfo.java | 26 TextTagInfo(String n, String k, String t, SourcePositionInfo p) { in TextTagInfo()
|
D | LiteralTagInfo.java | 33 public LiteralTagInfo(String text, SourcePositionInfo sp) { in LiteralTagInfo()
|
D | CodeTagInfo.java | 33 public CodeTagInfo(String text, SourcePositionInfo sp) { in CodeTagInfo()
|
D | AuxTagInfo.java | 33 AuxTagInfo(String name, String kind, SourcePositionInfo position, Map<String, String> args, in AuxTagInfo()
|
D | SeeTagInfo.java | 31 …SeeTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo position)… in SeeTagInfo()
|
D | Stubs.java | 74 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(apiFile, 0, 0), in writeStubsAndApi() 84 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(dexApiFile, 0, 0), in writeStubsAndApi() 94 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(keepListFile, 0, 0), in writeStubsAndApi() 105 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(removedApiFile, 0, 0), in writeStubsAndApi() 116 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(removedDexApiFile, 0, 0), in writeStubsAndApi() 127 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(exactApiFile, 0, 0), in writeStubsAndApi() 138 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(privateApiFile, 0, 0), in writeStubsAndApi() 149 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(privateDexApiFile, 0, 0), in writeStubsAndApi() 160 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(apiMappingFile, 0, 0), in writeStubsAndApi() 633 private static String parseLicenseHeader(/* @Nonnull */ SourcePositionInfo positionInfo) { in parseLicenseHeader() [all …]
|
D | AttributeInfo.java | 70 return new Comment("", mClass, SourcePositionInfo.UNKNOWN); in comment()
|
D | MemberInfo.java | 25 boolean isStatic, boolean isSynthetic, String kind, SourcePositionInfo position, in MemberInfo()
|
/external/doclava/src/com/google/doclava/apicheck/ |
D | XmlApiFile.java | 26 import com.google.doclava.SourcePositionInfo; 75 new PackageInfo(attributes.getValue("name"), SourcePositionInfo.fromXml(attributes in startElement() 84 SourcePositionInfo position = SourcePositionInfo.fromXml(attributes.getValue("source")); in startElement() 150 SourcePositionInfo position = SourcePositionInfo.fromXml(attributes.getValue("source")); in startElement() 173 SourcePositionInfo.fromXml(attributes.getValue("source")), in startElement() 197 type, "", value, SourcePositionInfo.fromXml(attributes.getValue("source")), in startElement() 207 SourcePositionInfo position = null; in startElement()
|