[android] hide peer constructors
This commit is contained in:
committed by
Łukasz Paczos
parent
c2113fdb98
commit
1771875b12
@@ -28,7 +28,7 @@ public class BackgroundLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public BackgroundLayer(long nativePtr) {
|
||||
BackgroundLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public class CircleLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public CircleLayer(long nativePtr) {
|
||||
CircleLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ public class CustomLayer extends Layer {
|
||||
}
|
||||
|
||||
@Keep
|
||||
public CustomLayer(long nativePtr) {
|
||||
CustomLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public class FillExtrusionLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public FillExtrusionLayer(long nativePtr) {
|
||||
FillExtrusionLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public class FillLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public FillLayer(long nativePtr) {
|
||||
FillLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public class HeatmapLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public HeatmapLayer(long nativePtr) {
|
||||
HeatmapLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public class HillshadeLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public HillshadeLayer(long nativePtr) {
|
||||
HillshadeLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ public abstract class Layer {
|
||||
private boolean invalidated;
|
||||
|
||||
@Keep
|
||||
public Layer(long nativePtr) {
|
||||
protected Layer(long nativePtr) {
|
||||
checkThread();
|
||||
this.nativePtr = nativePtr;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ public class LineLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public LineLayer(long nativePtr) {
|
||||
LineLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public class RasterLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public RasterLayer(long nativePtr) {
|
||||
RasterLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public class SymbolLayer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public SymbolLayer(long nativePtr) {
|
||||
SymbolLayer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ public class <%- camelize(type) %>Layer extends Layer {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public <%- camelize(type) %>Layer(long nativePtr) {
|
||||
<%- camelize(type) %>Layer(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ public class Light {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public Light(long nativePtr) {
|
||||
Light(long nativePtr) {
|
||||
checkThread();
|
||||
this.nativePtr = nativePtr;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ public class Light {
|
||||
* @param nativePtr pointer used by core
|
||||
*/
|
||||
@Keep
|
||||
public Light(long nativePtr) {
|
||||
Light(long nativePtr) {
|
||||
checkThread();
|
||||
this.nativePtr = nativePtr;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ public class GeoJsonSource extends Source {
|
||||
* @param nativePtr - pointer to native peer
|
||||
*/
|
||||
@Keep
|
||||
public GeoJsonSource(long nativePtr) {
|
||||
GeoJsonSource(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ public class ImageSource extends Source {
|
||||
* @param nativePtr - pointer to native peer
|
||||
*/
|
||||
@Keep
|
||||
public ImageSource(long nativePtr) {
|
||||
ImageSource(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public class RasterDemSource extends Source {
|
||||
* @param nativePtr - pointer to native peer
|
||||
*/
|
||||
@Keep
|
||||
private RasterDemSource(long nativePtr) {
|
||||
RasterDemSource(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ public class RasterSource extends Source {
|
||||
* @param nativePtr - pointer to native peer
|
||||
*/
|
||||
@Keep
|
||||
public RasterSource(long nativePtr) {
|
||||
RasterSource(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ public abstract class Source {
|
||||
* @param nativePtr - pointer to native peer
|
||||
*/
|
||||
@Keep
|
||||
public Source(long nativePtr) {
|
||||
protected Source(long nativePtr) {
|
||||
checkThread();
|
||||
this.nativePtr = nativePtr;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ public class VectorSource extends Source {
|
||||
* @param nativePtr - pointer to native peer
|
||||
*/
|
||||
@Keep
|
||||
public VectorSource(long nativePtr) {
|
||||
VectorSource(long nativePtr) {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user