Home
last modified time | relevance | path

Searched refs:SourcePositionInfo (Results 1 – 25 of 40) sorted by relevance

12

/external/doclava/src/com/google/doclava/
DSourcePositionInfo.java19 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 …]
DAndroidAuxSource.java44 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 …]
DDocInfo.java26 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;
DComment.java55 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;
DLinter.java22 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
36 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
DParamTagInfo.java38 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()
DParameterInfo.java28 SourcePositionInfo position, List<AnnotationInstanceInfo> annotationInstanceInfos) { in ParameterInfo()
58 SourcePositionInfo position() { in position()
109 SourcePositionInfo mPosition;
DTagInfo.java45 private SourcePositionInfo mPosition;
47 TagInfo(String n, String k, String t, SourcePositionInfo sp) { in TagInfo()
66 SourcePositionInfo position() { in position()
DParsedTagInfo.java33 ParsedTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo sp) { in ParsedTagInfo()
34 super(name, kind, text, SourcePositionInfo.findBeginning(sp, text)); in ParsedTagInfo()
DAndroidLinter.java119 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()
DThrowsTagInfo.java36 SourcePositionInfo sp) { in ThrowsTagInfo()
53 String exceptionComment, ContainerInfo base, SourcePositionInfo sp) { in ThrowsTagInfo()
DErrors.java33 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()
DArtifactTagger.java79 Errors.error(Errors.BROKEN_ARTIFACT_FILE, (SourcePositionInfo) null, in tagAll()
128 Errors.error(Errors.BROKEN_ARTIFACT_FILE, (SourcePositionInfo) null, "Class " in applyArtifactsFromSpec()
DSampleTagInfo.java74 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()
DFederationTagger.java104 Errors.error(Errors.NO_FEDERATION_DATA, (SourcePositionInfo) null, in initialize()
122 Errors.error(Errors.NO_FEDERATION_DATA, (SourcePositionInfo) null, error); in initialize()
DAttrTagInfo.java50 …AttrTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo position… in AttrTagInfo()
57 void parse(String text, ContainerInfo base, SourcePositionInfo position) { in parse()
DTextTagInfo.java26 TextTagInfo(String n, String k, String t, SourcePositionInfo p) { in TextTagInfo()
DLiteralTagInfo.java33 public LiteralTagInfo(String text, SourcePositionInfo sp) { in LiteralTagInfo()
DCodeTagInfo.java33 public CodeTagInfo(String text, SourcePositionInfo sp) { in CodeTagInfo()
DAuxTagInfo.java33 AuxTagInfo(String name, String kind, SourcePositionInfo position, Map<String, String> args, in AuxTagInfo()
DSeeTagInfo.java31 …SeeTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo position)… in SeeTagInfo()
DStubs.java74 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 …]
DAttributeInfo.java70 return new Comment("", mClass, SourcePositionInfo.UNKNOWN); in comment()
DMemberInfo.java25 boolean isStatic, boolean isSynthetic, String kind, SourcePositionInfo position, in MemberInfo()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java26 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()

12