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

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

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

origin: robovm/robovm

public String toDebugString() {
  StringBuilder sb = new StringBuilder();
  sb.append("@interface ").append(getName());
  long superclass = ObjCRuntime.class_getSuperclass(getHandle());
  if (superclass != 0) {
    sb.append(" : ").append(VM.newStringUTF(ObjCRuntime.class_getName(superclass)));
  }
  IntPtr outCount = new IntPtr();
  long protocols = ObjCRuntime.class_copyProtocolList(getHandle(), outCount.getHandle());
  if (outCount.get() > 0) {
    sb.append(" <");
    for (int i = 0; i < outCount.get(); i++) {
      if (i > 0) {
        sb.append(", ");
      }
      sb.append(VM.newStringUTF(ObjCRuntime.protocol_getName(VM.getPointer(protocols))));
      protocols += (Bro.IS_64BIT ? 8 : 4);
    }
    sb.append('>');
  }
  sb.append('\n');
  sb.append("@end");
  return sb.toString();
}

origin: robovm/robovm

principalClassName = ObjCClass.getByType(principalClass).getName();
delegateClassName = ObjCClass.getByType(delegateClass).getName();            
origin: com.gluonhq/robovm-objc

public String toDebugString() {
  StringBuilder sb = new StringBuilder();
  sb.append("@interface ").append(getName());
  long superclass = ObjCRuntime.class_getSuperclass(getHandle());
  if (superclass != 0) {
    sb.append(" : ").append(VM.newStringUTF(ObjCRuntime.class_getName(superclass)));
  }
  IntPtr outCount = new IntPtr();
  long protocols = ObjCRuntime.class_copyProtocolList(getHandle(), outCount.getHandle());
  if (outCount.get() > 0) {
    sb.append(" <");
    for (int i = 0; i < outCount.get(); i++) {
      if (i > 0) {
        sb.append(", ");
      }
      sb.append(VM.newStringUTF(ObjCRuntime.protocol_getName(VM.getPointer(protocols))));
      protocols += (Bro.IS_64BIT ? 8 : 4);
    }
    sb.append('>');
  }
  sb.append('\n');
  sb.append("@end");
  return sb.toString();
}

origin: com.gluonhq/robovm-cocoatouch

principalClassName = ObjCClass.getByType(principalClass).getName();
delegateClassName = ObjCClass.getByType(delegateClass).getName();            
origin: com.mobidevelop.robovm/robovm-cocoatouch

principalClassName = ObjCClass.getByType(principalClass).getName();
delegateClassName = ObjCClass.getByType(delegateClass).getName();            
org.robovm.objcObjCClassgetName

Popular methods of ObjCClass

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

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • getSharedPreferences (Context)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Best IntelliJ plugins
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