Skip to content

Instantly share code, notes, and snippets.

@confile
confile / gist:587c574b257ae5f83b25
Created February 8, 2015 01:52
31 Cycles with Cycle Finder
http-server:shared mg$ cycle_finder NumberIncrementer.java SomeEvent.java
***** Found reference cycle *****
ReferenceQueue -> (Entry subtype of (field head with type Reference))
Entry -> (superclass WeakReference has (superclass Reference has (field queue with type ReferenceQueue)))
----- Full Types -----
Ljava/lang/ref/ReferenceQueue<>;
Ljava/lang/ClassValue$Entry<>;
***** Found reference cycle *****
// YourProject-Bridging-Header.h
#import <FacebookSDK/FacebookSDK.h>
// AppDelegate.swift
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
.
j2objc -d /TestUser/project/build/j2objc -sourcepath /TestUser/project/src/main/java:/TestUser/project/src/test/java:/TestUser/project/libSrc/dagger-2.0-sources.jar:/TestUser/project/build/source/apt -classpath /Applications/J2Objc/j2objc-0.9.7b/lib/j2objc_annotations.jar -classpath /Applications/J2Objc/j2objc-0.9.7b/lib/guava-14.0.1.jar -classpath /Applications/J2Objc/j2objc-0.9.7b/lib/javax.inject-1.jar -classpath /Applications/J2Objc/j2objc-0.9.7b/lib/jsr305-3.0.0.jar --no-package-directories --prefixes prefixes.properties -use-arc --doc-comments --build-closure -classpath /TestUser/project/lib/json-20140107.jar:/TestUser/project/lib/javax.inject-1.jar:/TestUser/project/lib/auto-factory-0.1-beta1.jar:/TestUser/project/lib/auto-service-1.0-rc1.jar:/TestUser/project/lib/guava-16.0.jar:/TestUser/project/lib/javawriter-2.4.0.jar:/TestUser/project/lib/dagger-1.2.0.jar /TestUser/project/src/main/java/testapp/TestTest.java /TestUser/project/src/main/java/testapp/core/app/database/AppDatabaseHelper.java /TestUser/
@confile
confile / gist:a2bce4f160a4cd957ed1
Created June 3, 2015 16:47
CurrentUserUpdatedEvent.h
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/events/CurrentUserUpdatedEvent.java
//
#ifndef _BuddyisCoreAppEventsCurrentUserUpdatedEvent_H_
#define _BuddyisCoreAppEventsCurrentUserUpdatedEvent_H_
#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
@confile
confile / gist:70a16bba4947b9b27034
Created June 3, 2015 16:48
CurrentUserUpdatedEvent.m
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/events/CurrentUserUpdatedEvent.java
//
#include "AbstractBEvent.h"
#include "BHasHandlers.h"
#include "CurrentUserUpdatedEvent.h"
#include "J2ObjC_source.h"
@confile
confile / gist:a45897508aacc70d05d8
Created June 12, 2015 19:46
BPlaceManagerImpl.h
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/build/source/base/buddyis/core/prototype/navigation/BPlaceManagerImpl.java
//
#ifndef _BPlaceManagerImpl_H_
#define _BPlaceManagerImpl_H_
#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
@confile
confile / gist:9673bed1d6f7746d2ab1
Created June 12, 2015 19:47
BPlaceManagerImpl.m
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/build/source/base/buddyis/core/prototype/navigation/BPlaceManagerImpl.java
//
#include "AbstractBEvent.h"
#include "BBackNavigationEvent.h"
#include "BEventBus.h"
#include "BHistoryUpdateEvent.h"
#include "BPlaceManagerImpl.h"
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/photoEditor/cameraManager/CameraManager.java
//
#ifndef _CameraManager_H_
#define _CameraManager_H_
#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/photoEditor/cameraManager/CameraManager.java
//
#include "CameraManager.h"
#include "IOSClass.h"
#include "J2ObjC_source.h"
#include "java/lang/Enum.h"
#include "java/lang/IllegalArgumentException.h"
@confile
confile / gist:fe32f7b6035660f72571
Created June 12, 2015 21:33
CameraManagerImpl.java
package buddyis.core.app.photoEditor.cameraManager;
import javax.inject.Inject;
import buddyis.core.app.photoEditor.events.PhotoCreatedEvent;
import buddyis.core.i18n.Message;
import buddyis.core.plugins.actionSheet.ActionSheet;
import buddyis.core.plugins.actionSheet.ActionSheetCallback;
import buddyis.core.plugins.actionSheet.ActionSheetOptions;
import buddyis.core.plugins.bcamera.BCamera;