Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Commit 53b21d1

Browse files
committed
Merge pull request #2068 from dodgex/2040_support_kotlin-allopen_plugin
Add support for kotlin-allopen plugin
2 parents f078148 + 7613d45 commit 53b21d1

21 files changed

Lines changed: 128 additions & 2 deletions

File tree

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/Background.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on method that must be run in a background thread.
@@ -171,6 +174,7 @@
171174
*/
172175
@Retention(RetentionPolicy.CLASS)
173176
@Target(ElementType.METHOD)
177+
@KotlinOpen
174178
public @interface Background {
175179
/**
176180
* Identifier for task cancellation.

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EActivity.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on {@link android.app.Activity} classes to enable usage of
@@ -86,6 +89,7 @@
8689
*/
8790
@Retention(RetentionPolicy.CLASS)
8891
@Target(ElementType.TYPE)
92+
@KotlinOpen
8993
public @interface EActivity {
9094

9195
/**

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EApplication.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on {@link android.app.Application} classes to enable usage of
@@ -74,5 +77,6 @@
7477
*/
7578
@Retention(RetentionPolicy.CLASS)
7679
@Target(ElementType.TYPE)
80+
@KotlinOpen
7781
public @interface EApplication {
7882
}

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EBean.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on custom classes to enable usage of AndroidAnnotations.
@@ -94,6 +97,7 @@
9497
*/
9598
@Retention(RetentionPolicy.CLASS)
9699
@Target(ElementType.TYPE)
100+
@KotlinOpen
97101
public @interface EBean {
98102

99103
/**

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EFragment.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on android.app.Fragment or android.support.v4.app.Fragment
@@ -106,6 +109,7 @@
106109
*/
107110
@Retention(RetentionPolicy.CLASS)
108111
@Target(ElementType.TYPE)
112+
@KotlinOpen
109113
public @interface EFragment {
110114

111115
/**

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EIntentService.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on {@link android.app.IntentService} classes to enable usage
@@ -80,5 +83,6 @@
8083
*/
8184
@Retention(RetentionPolicy.CLASS)
8285
@Target(ElementType.TYPE)
86+
@KotlinOpen
8387
public @interface EIntentService {
8488
}

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EProvider.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on {@link android.content.ContentProvider} classes to enable
@@ -50,5 +53,6 @@
5053
*/
5154
@Retention(RetentionPolicy.CLASS)
5255
@Target(ElementType.TYPE)
56+
@KotlinOpen
5357
public @interface EProvider {
5458
}

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EReceiver.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on {@link android.content.BroadcastReceiver} classes to enable
@@ -50,5 +53,6 @@
5053
*/
5154
@Retention(RetentionPolicy.CLASS)
5255
@Target(ElementType.TYPE)
56+
@KotlinOpen
5357
public @interface EReceiver {
5458
}

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EService.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on {@link android.app.Service} classes to enable usage of
@@ -72,5 +75,6 @@
7275
*/
7376
@Retention(RetentionPolicy.CLASS)
7477
@Target(ElementType.TYPE)
78+
@KotlinOpen
7579
public @interface EService {
7680
}

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EView.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
3+
* Copyright (C) 2016-2017 the AndroidAnnotations project
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
56
* use this file except in compliance with the License. You may obtain a copy of
@@ -20,6 +21,8 @@
2021
import java.lang.annotation.RetentionPolicy;
2122
import java.lang.annotation.Target;
2223

24+
import org.androidannotations.api.KotlinOpen;
25+
2326
/**
2427
* <p>
2528
* Should be used on {@link android.view.View View} classes to enable usage of
@@ -67,5 +70,6 @@
6770
*/
6871
@Retention(RetentionPolicy.CLASS)
6972
@Target(ElementType.TYPE)
73+
@KotlinOpen
7074
public @interface EView {
7175
}

0 commit comments

Comments
 (0)