Tabnine Logo
ObjCClass.getCustomClassName
Code IndexAdd Tabnine to your IDE (free)

How to use
getCustomClassName
method
in
org.robovm.objc.ObjCClass

Best Java code snippets using org.robovm.objc.ObjCClass.getCustomClassName (Showing top 4 results out of 315)

origin: robovm/robovm

public static ObjCClass registerCustomClass(Class<? extends ObjCObject> type) {
  if (type.getAnnotation(NativeClass.class) != null) {
    throw new IllegalArgumentException("@NativeClass annotated class " + type.getName() 
        + " can not be registered as a custom class");
  }
  if (type.getAnnotation(NativeProtocolProxy.class) != null) {
    throw new IllegalArgumentException("@NativeProtocolProxy annotated class " + type.getName() 
        + " can not be registered as a custom class");
  }
  synchronized (objcBridgeLock) {
    ObjCClass c = typeToClass.get(type);
    if (c == null) {
      String name = getCustomClassName(type);
      c = register(type, name);
      typeToClass.put(type, c);
      nameToClass.put(name, c);
    }
    return c;
  }
}
origin: robovm/robovm

name = getCustomClassName(type);
c = register(type, name);
origin: com.gluonhq/robovm-objc

public static ObjCClass registerCustomClass(Class<? extends ObjCObject> type) {
  if (type.getAnnotation(NativeClass.class) != null) {
    throw new IllegalArgumentException("@NativeClass annotated class " + type.getName() 
        + " can not be registered as a custom class");
  }
  if (type.getAnnotation(NativeProtocolProxy.class) != null) {
    throw new IllegalArgumentException("@NativeProtocolProxy annotated class " + type.getName() 
        + " can not be registered as a custom class");
  }
  synchronized (objcBridgeLock) {
    ObjCClass c = typeToClass.get(type);
    if (c == null) {
      String name = getCustomClassName(type);
      c = register(type, name);
      typeToClass.put(type, c);
      nameToClass.put(name, c);
    }
    return c;
  }
}
origin: com.gluonhq/robovm-objc

name = getCustomClassName(type);
c = register(type, name);
org.robovm.objcObjCClassgetCustomClassName

Popular methods of ObjCClass

  • getByType
  • getHandle
  • getName
  • getType
  • registerCustomClass
  • <init>
  • findCallbacks
  • getByNameNotLoaded
  • getCallbacks
  • getFromObject
  • getProtocols
  • isCustom
  • getProtocols,
  • isCustom,
  • isObjCProxy,
  • register,
  • toObjCClass

Popular in Java

  • Making http requests using okhttp
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Runner (org.openjdk.jmh.runner)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now