Skip to content

Commit 7345040

Browse files
committed
Add license headers.
1 parent 5bc2186 commit 7345040

37 files changed

+586
-3
lines changed

NOTICE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This library includes the following third-party software,
2+
repackaged to avoid potential dependency conflicts:
3+
4+
* [minimal-json](https://github.com/ralfstx/minimal-json)
5+
(MIT License) Copyright (c) 2013, 2014 EclipseSource
6+
7+
* [JavaPoet](https://github.com/square/javapoet)
8+
(Apache 2.0 License) Copyright (c) 2015 Square, Inc.

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ from all packages.
8282

8383
### Reading Javadoc comments at runtime
8484

85-
Add the runtime library as a dependecy of your project.
85+
Add the runtime library as a dependency of your project.
8686

8787
Read the Javadoc by calling `RuntimeJavadoc.getJavadoc` and passing a
8888
class literal, a fully-qualified class name, or a `java.lang.reflect.Method`.
@@ -164,13 +164,31 @@ public class Example {
164164
}
165165
```
166166

167+
## License
168+
169+
```
170+
Copyright 2015 David Nault and contributors
171+
172+
Licensed under the Apache License, Version 2.0 (the "License");
173+
you may not use this file except in compliance with the License.
174+
You may obtain a copy of the License at
175+
176+
http://www.apache.org/licenses/LICENSE-2.0
177+
178+
Unless required by applicable law or agreed to in writing, software
179+
distributed under the License is distributed on an "AS IS" BASIS,
180+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
181+
See the License for the specific language governing permissions and
182+
limitations under the License.
183+
```
184+
167185
## Notice
168186

169187
This library includes the following third-party software,
170188
repackaged to avoid potential dependency conflicts:
171189

172190
* [minimal-json](https://github.com/ralfstx/minimal-json)
173-
(MIT License) Copyright (c) 2013, 2014 EclipseSource
191+
(MIT License) Copyright (c) 2013, 2014 EclipseSource
174192

175193
* [JavaPoet](https://github.com/square/javapoet)
176-
(Apache 2.0 License) Copyright (c) 2015 Square, Inc.
194+
(Apache 2.0 License) Copyright (c) 2015 Square, Inc.

therapi-runtime-javadoc-scribe/src/main/java/com/github/therapi/runtimejavadoc/internal/JavadocAnnotationProcessor.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2015 David Nault and contributors
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+
117
package com.github.therapi.runtimejavadoc.internal;
218

319
import com.eclipsesource.json.JsonObject;

therapi-runtime-javadoc-scribe/src/main/java/com/github/therapi/runtimejavadoc/internal/JsonJavadocBuilder.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2015 David Nault and contributors
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+
117
package com.github.therapi.runtimejavadoc.internal;
218

319
import com.eclipsesource.json.Json;

therapi-runtime-javadoc-scribe/src/main/java/com/github/therapi/runtimejavadoc/internal/PackageFilter.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2015 David Nault and contributors
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+
117
package com.github.therapi.runtimejavadoc.internal;
218

319
import javax.lang.model.element.Element;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2015 Square, Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

therapi-runtime-javadoc/src/main/java/com/github/therapi/runtimejavadoc/BaseJavadoc.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2015 David Nault and contributors
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+
117
package com.github.therapi.runtimejavadoc;
218

319
import java.util.List;

therapi-runtime-javadoc/src/main/java/com/github/therapi/runtimejavadoc/ClassJavadoc.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2015 David Nault and contributors
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+
117
package com.github.therapi.runtimejavadoc;
218

319
import java.util.List;

therapi-runtime-javadoc/src/main/java/com/github/therapi/runtimejavadoc/Comment.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2015 David Nault and contributors
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+
117
package com.github.therapi.runtimejavadoc;
218

319
import java.util.Collections;

therapi-runtime-javadoc/src/main/java/com/github/therapi/runtimejavadoc/CommentElement.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2015 David Nault and contributors
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+
117
package com.github.therapi.runtimejavadoc;
218

319

0 commit comments

Comments
 (0)