Codota Logo
JTranscKeep.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.jtransc.annotation.JTranscKeep
constructor

Best Java code snippets using com.jtransc.annotation.JTranscKeep.<init> (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: jtransc/jtransc

@SuppressWarnings({"WeakerAccess", "unused"})
class MyDemo {
  @JTranscKeep
  public List<MyDemoItem> items;
}

origin: jtransc/jtransc

  @JTranscKeep
  public A() {
    aCount++;
  }
}
origin: jtransc/jtransc

  @JTranscKeep
  public B() {
    bCount++;
  }
}
origin: jtransc/jtransc

@JTranscKeep
public class Issue219 {

  static public void main(String[] args) {
    String[] strArr = new String[]{"1"};
    int i = strArr.length - 1;
    while (i >= 0) {
      if ("1".equals(strArr[i--])) System.out.println("OK!");
    }
  }
}

origin: jtransc/jtransc

  @JTranscKeep
  public ConstructorTest(long a, Long b, double c) {
    this.a = a;
    this.b = b;
    this.c = c;
  }
}
origin: jtransc/jtransc

@SuppressWarnings("unused")
static class TestEmptyAnnotationsClass {
  @JTranscKeep
  public int a;
  @JTranscKeep
  public TestEmptyAnnotationsClass(int z) {
  }
  @JTranscKeep
  public void methodWithoutAnnotations(String a, int b) {
  }
}
origin: jtransc/jtransc

@JTranscKeep
public class SomeBasicClass<T> {
  @JTranscKeep
  T key;

  @JTranscKeep
  T[] array;
}

origin: jtransc/jtransc

@JTranscKeep
@SuppressWarnings("all")
class GenericTest {
  @JTranscKeep
  public Map<String, Map<Integer, Double>> map;

  @JTranscKeep
  public List<Integer> method1(List<String> a, boolean b, Map<String, List<Integer>> c, int d) {
    throw new Error("Not supported calling!");
  }
}

origin: jtransc/jtransc

@JTranscKeep
public abstract class Impl_0 {
  protected String f = "Impl_0";
  public String getF() {
    return f;
  }
}

origin: jtransc/jtransc

@SuppressWarnings({"WeakerAccess", "unused"})
class FieldTestClass {
  public byte _byte;
  public Byte _Byte;
  public int _int;
  public Integer _Integer;
  public double _double;
  @JTranscKeep
  public Double _Double;
}

origin: jtransc/jtransc

@SuppressWarnings("unused")
@JTranscKeep
class RcBase {
  public int a;
  private int ap;
}
origin: jtransc/jtransc

@SuppressWarnings("unused")
@JTranscKeep
static public long testInvokeMethod3(int a, boolean b, double c) {
  System.out.println("testInvokeMethodInt3:" + a + ":" + b + ":" + c);
  return Long.MAX_VALUE;
}
origin: jtransc/jtransc

  @JTranscKeep
  public List<Integer> method1(List<String> a, boolean b, Map<String, List<Integer>> c, int d) {
    throw new Error("Not supported calling!");
  }
}
origin: jtransc/jtransc

@SuppressWarnings("unused")
@JTranscKeep
static public void testInvokeMethod2(int a, boolean b) {
  System.out.println("testInvokeMethod2:" + a + ":" + b);
}
origin: jtransc/jtransc

@SuppressWarnings("unused")
@JTranscKeep
static public short[] testInvokeMethod4(Object a, byte[] data, Object data2) {
  System.out.println("testInvokeMethod4:" + a + ":" + Arrays.toString(data) + ":" + Arrays.toString((long[]) data2));
  return new short[]{3, 4, 5, 6};
}
origin: com.jtransc/jtransc-rt

@JTranscKeep
@JTranscSync
public static Long valueOf(long l) {
  return new Long(l);
}
origin: com.jtransc/jtransc-rt

@JTranscKeep
@JTranscSync
public static Character valueOf(char value) {
  return new Character(value);
}
origin: jtransc/jtransc

  @JTranscKeep
  static public void main(String[] args) {
    System.out.println(_$hello);
    System.out.println(JTranscInternalNames.getInternalClassName(JTranscInternalNamesTest.class));
    System.out.println(JTranscInternalNames.getInternalMethodName(JTranscInternalNamesTest.class.getDeclaredMethods()[0]));
    System.out.println(JTranscInternalNames.getInternalFieldName(JTranscInternalNamesTest.class.getDeclaredFields()[0]));
  }
}
origin: jtransc/jtransc

@SuppressWarnings("unused")
@JTranscKeep
class Rc1 extends RcBase {
  @TestAn public String b;
  @TestAn private String bp;
}
origin: com.jtransc/jtransc-rt-core

@JTranscKeep
@JTranscNativeName("c")
@JTranscSync
static public MemberInfo create(int id, String internalName, String name, int modifiers, String desc, String genericDesc) {
  return new MemberInfo(id, internalName, name, modifiers, desc, genericDesc);
}
com.jtransc.annotationJTranscKeep<init>

Popular methods of JTranscKeep

    Popular in Java

    • Reactive rest calls using spring rest template
    • scheduleAtFixedRate (Timer)
    • runOnUiThread (Activity)
    • putExtra (Intent)
    • IOException (java.io)
      Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
    • InputStreamReader (java.io)
      An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
    • MalformedURLException (java.net)
      Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
    • Selector (java.nio.channels)
      A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
    • Time (java.sql)
      Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
    • Queue (java.util)
      A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now