[android] hide peer constructors

This commit is contained in:
Łukasz Paczos
2018-08-15 14:40:39 +02:00
committed by Łukasz Paczos
parent c2113fdb98
commit 1771875b12
20 changed files with 20 additions and 20 deletions

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -16,7 +16,7 @@ public class CustomLayer extends Layer {
}
@Keep
public CustomLayer(long nativePtr) {
CustomLayer(long nativePtr) {
super(nativePtr);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -18,7 +18,7 @@ public abstract class Layer {
private boolean invalidated;
@Keep
public Layer(long nativePtr) {
protected Layer(long nativePtr) {
checkThread();
this.nativePtr = nativePtr;
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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;
}

View File

@@ -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);
}