test_class.file: rococoa/rococoa-core/src/test/java/org/rococoa/FoundationTest.java
test_class.identifier: FoundationTest
test_class.superclass: extends RococoaTestCase
test_case.body: @Test public void testSelector() {
          Selector selector = Foundation.selector("selectorName:");
          assertTrue(selector.longValue() != 0); // selectors always exist
          assertSame("selectorName:", selector.getName());
          
          Selector noSuchSelector = Foundation.selector("noSelector:NamedThis:OrribleThing:");
          assertTrue(noSuchSelector.longValue() != 0);
          assertSame("noSelector:NamedThis:OrribleThing:", noSuchSelector.getName());
      }
test_case.class_method_signature: FoundationTest.testSelector()
test_case.full_signature: @Test public void testSelector()
test_case.identifier: testSelector
test_case.invocations: selector assertTrue longValue assertSame getName selector assertTrue longValue assertSame getName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSelector()
focal_class.declarator: logging = Logger.getLogger("org.rococoa.foundation")
focal_class.modifier: private static
focal_class.original_string: private static Logger logging = Logger.getLogger("org.rococoa.foundation");
focal_class.type: Logger
focal_class.var_name: logging
focal_class.declarator: foundationLibrary
focal_class.modifier: private static final
focal_class.original_string: private static final FoundationLibrary foundationLibrary;
focal_class.type: FoundationLibrary
focal_class.var_name: foundationLibrary
focal_class.declarator: messageSendLibrary
focal_class.modifier: private static final
focal_class.original_string: private static final MsgSendLibrary messageSendLibrary;
focal_class.type: MsgSendLibrary
focal_class.var_name: messageSendLibrary
focal_class.declarator: rococoaLibrary
focal_class.modifier: private static final
focal_class.original_string: private static final RococoaLibrary rococoaLibrary;
focal_class.type: RococoaLibrary
focal_class.var_name: rococoaLibrary
focal_class.declarator: selectorCache = new HashMap<String, Selector>()
focal_class.modifier: private static final
focal_class.original_string: private static final Map<String, Selector> selectorCache = new HashMap<String, Selector>();
focal_class.type: Map<String, Selector>
focal_class.var_name: selectorCache
focal_class.file: rococoa/rococoa-core/src/main/java/org/rococoa/Foundation.java
focal_class.identifier: Foundation
focal_class.class_method_signature: Foundation.Foundation()
focal_class.full_signature: private  Foundation()
focal_class.identifier: Foundation
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Foundation()
focal_class.class_method_signature: Foundation.nsLog(String format, Object thing)
focal_class.full_signature: public static void nsLog(String format, Object thing)
focal_class.identifier: nsLog
focal_class.modifiers: public static
focal_class.parameters: (String format, Object thing)
focal_class.return: void
focal_class.signature: void nsLog(String format, Object thing)
focal_class.class_method_signature: Foundation.cfString(String s)
focal_class.full_signature: public static ID cfString(String s)
focal_class.identifier: cfString
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: ID
focal_class.signature: ID cfString(String s)
focal_class.class_method_signature: Foundation.cfRetain(ID id)
focal_class.full_signature: public static ID cfRetain(ID id)
focal_class.identifier: cfRetain
focal_class.modifiers: public static
focal_class.parameters: (ID id)
focal_class.return: ID
focal_class.signature: ID cfRetain(ID id)
focal_class.class_method_signature: Foundation.cfRelease(ID id)
focal_class.full_signature: public static void cfRelease(ID id)
focal_class.identifier: cfRelease
focal_class.modifiers: public static
focal_class.parameters: (ID id)
focal_class.return: void
focal_class.signature: void cfRelease(ID id)
focal_class.class_method_signature: Foundation.cfGetRetainCount(ID cfTypeRef)
focal_class.full_signature: public static int cfGetRetainCount(ID cfTypeRef)
focal_class.identifier: cfGetRetainCount
focal_class.modifiers: public static
focal_class.parameters: (ID cfTypeRef)
focal_class.return: int
focal_class.signature: int cfGetRetainCount(ID cfTypeRef)
focal_class.class_method_signature: Foundation.toString(ID cfString)
focal_class.full_signature: public static String toString(ID cfString)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (ID cfString)
focal_class.return: String
focal_class.signature: String toString(ID cfString)
focal_class.class_method_signature: Foundation.toStringViaUTF16(ID cfString)
focal_class.full_signature: static String toStringViaUTF16(ID cfString)
focal_class.identifier: toStringViaUTF16
focal_class.modifiers: static
focal_class.parameters: (ID cfString)
focal_class.return: String
focal_class.signature: String toStringViaUTF16(ID cfString)
focal_class.class_method_signature: Foundation.toStringViaUTF8(ID cfString)
focal_class.full_signature: static String toStringViaUTF8(ID cfString)
focal_class.identifier: toStringViaUTF8
focal_class.modifiers: static
focal_class.parameters: (ID cfString)
focal_class.return: String
focal_class.signature: String toStringViaUTF8(ID cfString)
focal_class.class_method_signature: Foundation.getClass(String className)
focal_class.full_signature: public static ID getClass(String className)
focal_class.identifier: getClass
focal_class.modifiers: public static
focal_class.parameters: (String className)
focal_class.return: ID
focal_class.signature: ID getClass(String className)
focal_class.class_method_signature: Foundation.selector(String selectorName)
focal_class.full_signature: public static Selector selector(String selectorName)
focal_class.identifier: selector
focal_class.modifiers: public static
focal_class.parameters: (String selectorName)
focal_class.return: Selector
focal_class.signature: Selector selector(String selectorName)
focal_class.class_method_signature: Foundation.send(ID receiver, String selectorName, Class<T> returnType, Object... args)
focal_class.full_signature: public static T send(ID receiver, String selectorName, Class<T> returnType, Object... args)
focal_class.identifier: send
focal_class.modifiers: public static
focal_class.parameters: (ID receiver, String selectorName, Class<T> returnType, Object... args)
focal_class.return: T
focal_class.signature: T send(ID receiver, String selectorName, Class<T> returnType, Object... args)
focal_class.class_method_signature: Foundation.send(ID receiver, Selector selector, Class<T> returnType, Object... args)
focal_class.full_signature: @SuppressWarnings("unchecked") public static T send(ID receiver, Selector selector, Class<T> returnType, Object... args)
focal_class.identifier: send
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (ID receiver, Selector selector, Class<T> returnType, Object... args)
focal_class.return: T
focal_class.signature: T send(ID receiver, Selector selector, Class<T> returnType, Object... args)
focal_class.class_method_signature: Foundation.sendReturnsID(ID receiver, String selectorName, Object... args)
focal_class.full_signature: public static ID sendReturnsID(ID receiver, String selectorName, Object... args)
focal_class.identifier: sendReturnsID
focal_class.modifiers: public static
focal_class.parameters: (ID receiver, String selectorName, Object... args)
focal_class.return: ID
focal_class.signature: ID sendReturnsID(ID receiver, String selectorName, Object... args)
focal_class.class_method_signature: Foundation.sendReturnsVoid(ID receiver, String selectorName, Object... args)
focal_class.full_signature: public static void sendReturnsVoid(ID receiver, String selectorName, Object... args)
focal_class.identifier: sendReturnsVoid
focal_class.modifiers: public static
focal_class.parameters: (ID receiver, String selectorName, Object... args)
focal_class.return: void
focal_class.signature: void sendReturnsVoid(ID receiver, String selectorName, Object... args)
focal_class.class_method_signature: Foundation.isMainThread()
focal_class.full_signature: public static boolean isMainThread()
focal_class.identifier: isMainThread
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isMainThread()
focal_class.class_method_signature: Foundation.callOnMainThread(final Callable<T> callable)
focal_class.full_signature: public static T callOnMainThread(final Callable<T> callable)
focal_class.identifier: callOnMainThread
focal_class.modifiers: public static
focal_class.parameters: (final Callable<T> callable)
focal_class.return: T
focal_class.signature: T callOnMainThread(final Callable<T> callable)
focal_class.class_method_signature: Foundation.runOnMainThread(final Runnable runnable)
focal_class.full_signature: public static void runOnMainThread(final Runnable runnable)
focal_class.identifier: runOnMainThread
focal_class.modifiers: public static
focal_class.parameters: (final Runnable runnable)
focal_class.return: void
focal_class.signature: void runOnMainThread(final Runnable runnable)
focal_class.class_method_signature: Foundation.runOnMainThread(Runnable runnable, boolean waitUntilDone)
focal_class.full_signature: public static void runOnMainThread(Runnable runnable, boolean waitUntilDone)
focal_class.identifier: runOnMainThread
focal_class.modifiers: public static
focal_class.parameters: (Runnable runnable, boolean waitUntilDone)
focal_class.return: void
focal_class.signature: void runOnMainThread(Runnable runnable, boolean waitUntilDone)
focal_class.class_method_signature: Foundation.newOCProxy(OCInvocationCallbacks callbacks)
focal_class.full_signature: public static ID newOCProxy(OCInvocationCallbacks callbacks)
focal_class.identifier: newOCProxy
focal_class.modifiers: public static
focal_class.parameters: (OCInvocationCallbacks callbacks)
focal_class.return: ID
focal_class.signature: ID newOCProxy(OCInvocationCallbacks callbacks)
focal_class.class_method_signature: Foundation.selectorNameMeansWeOwnReturnedObject(String selectorName)
focal_class.full_signature: public static boolean selectorNameMeansWeOwnReturnedObject(String selectorName)
focal_class.identifier: selectorNameMeansWeOwnReturnedObject
focal_class.modifiers: public static
focal_class.parameters: (String selectorName)
focal_class.return: boolean
focal_class.signature: boolean selectorNameMeansWeOwnReturnedObject(String selectorName)
focal_method.body: public static Selector selector(String selectorName) {
          Selector cached = selectorCache.get(selectorName);
          if (cached != null) {
              return cached;
          }
          Selector result = foundationLibrary.sel_registerName(selectorName).initName(selectorName);
          selectorCache.put(selectorName, result);
          return result;
      }
focal_method.class_method_signature: Foundation.selector(String selectorName)
focal_method.full_signature: public static Selector selector(String selectorName)
focal_method.identifier: selector
focal_method.invocations: get initName sel_registerName put
focal_method.modifiers: public static
focal_method.parameters: (String selectorName)
focal_method.return: Selector
focal_method.signature: Selector selector(String selectorName)