auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testResourceFolderType ( ) { for ( com.android.resources.ResourceFolderType type : com.android.resources.ResourceFolderType.values ( ) ) { assertTrue ( type.getName ( ) , ( ( com.android.resources.FolderTypeRelationship.getRelatedResourceTypes ( type ) . size ( ) ) > 0 ) ) ; } }

Target:
public void testResourceFolderType ( ) { for ( com.android.resources.ResourceFolderType type : com.android.resources.ResourceFolderType.values ( ) ) { assertTrue ( type.getName ( ) , ( ! ( com.android.resources.FolderTypeRelationship.getRelatedResourceTypes ( type ) . isEmpty ( ) ) ) ) ; } }
Source:
public void testPlay00 ( ) throws java.lang.Exception { doTestVideoPlaybackLong ( 0 ) ; }

Target:
public void testPlay00 ( ) throws java.lang.Exception { if ( ! ( isSupported ( ) ) ) { return ; } doTestVideoPlaybackLong ( 0 ) ; }
Source:
public void testRefactor1 ( ) throws java.lang.Exception { renamePackage ( com.android.ide.eclipse.adt.internal.refactorings.renamepackage.TEST_PROJECT , "my.pkg.name" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "[x] MainActivity2.java - /testRefactor1/src/com/example/refactoringtest/MainActivity2.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] MainActivity.java - /testRefactor1/src/com/example/refactoringtest/MainActivity.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] Make Manifest edits - /testRefactor1/AndroidManifest.xml\n" ) + " @@ -3 +3\n" ) + " - package=\"com.example.refactoringtest\"\n" ) + " + package=\"my.pkg.name\"\n" ) + " @@ -25 +25\n" ) + " - android:name=\".MainActivity2\"\n" ) + " + android:name=\"com.example.refactoringtest.MainActivity2\"" ) ) ) ; }

Target:
public void testRefactor1 ( ) throws java.lang.Exception { renamePackage ( com.android.ide.eclipse.adt.internal.refactorings.renamepackage.TEST_PROJECT , "my.pkg.name" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "[x] MainActivity.java - /testRefactor1/src/com/example/refactoringtest/MainActivity.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] Make Manifest edits - /testRefactor1/AndroidManifest.xml\n" ) + " @@ -3 +3\n" ) + " - package=\"com.example.refactoringtest\"\n" ) + " + package=\"my.pkg.name\"\n" ) + " @@ -25 +25\n" ) + " - android:name=\".MainActivity2\"\n" ) + " + android:name=\"com.example.refactoringtest.MainActivity2\"" ) ) ) ; }
Source:
public java.lang.Boolean call ( ) { return onHoverEvent ( event ) ; }

Target:
public java.lang.Boolean call ( ) { return onGenericMotionEvent ( event ) ; }
Source:
public static com.android.sdklib.internal.project.ProjectProperties create ( java.lang.String projectFolderOsPath , com.android.sdklib.internal.project.ProjectProperties.PropertyType type ) { return new com.android.sdklib.internal.project.ProjectProperties ( projectFolderOsPath , new java.util.HashMap < java.lang.String , java.lang.String > ( ) , type ) ; }

Target:
public static com.android.sdklib.internal.project.ProjectProperties create ( java.lang.String projectFolderOsPath , com.android.sdklib.internal.project.ProjectProperties.PropertyType type ) { com.android.sdklib.io.IAbstractFolder folder = new com.android.sdklib.io.FolderWrapper ( projectFolderOsPath ) ; return com.android.sdklib.internal.project.ProjectProperties.create ( folder , type ) ; }
Source:
public void setFieldValue ( java.lang.String key , java.lang.String value ) { if ( android.text.TextUtils.isEmpty ( value ) ) { mFields.put ( key , android.net.wifi.WifiEnterpriseConfig.EMPTY_VALUE ) ; } else { mFields.put ( key , convertToQuotedString ( value ) ) ; } }

Target:
public void setFieldValue ( java.lang.String key , java.lang.String value ) { setFieldValue ( key , value , "" ) ; }
Source:
public final void testParseError ( ) { java.lang.String errorMsg = null ; try { com.android.sdklib.internal.repository.packages.MajorRevision.parseRevision ( "5.0.0" ) ; fail ( "MajorRevision.parseRevision should thrown NumberFormatException" ) ; } catch ( java.lang.NumberFormatException e ) { errorMsg = e.getMessage ( ) ; } assertEquals ( "For input string: \"5.0.0\"" , errorMsg ) ; }

Target:
public final void testParseError ( ) { java.lang.String errorMsg = null ; try { com.android.sdklib.repository.MajorRevision.parseRevision ( "5.0.0" ) ; fail ( "MajorRevision.parseRevision should thrown NumberFormatException" ) ; } catch ( java.lang.NumberFormatException e ) { errorMsg = e.getMessage ( ) ; } assertEquals ( "For input string: \"5.0.0\"" , errorMsg ) ; }
Source:
public void reportSimPinUnlocked ( ) { mSimState = SimCard.State.READY ; }

Target:
public void reportSimPinUnlocked ( ) { mSimState = IccCard.State.READY ; }
Source:
private void removeListener ( int key ) { synchronized ( mMapLock ) { mListenerMap.remove ( key ) ; mServiceMap.remove ( key ) ; } }

Target:
private void removeListener ( int key ) { if ( key == ( android.net.nsd.NsdManager.INVALID_LISTENER_KEY ) ) return ; synchronized ( mMapLock ) { mListenerMap.remove ( key ) ; mServiceMap.remove ( key ) ; } }
Source:
boolean hasClient ( int pid ) { synchronized ( mClients ) { for ( com.android.ddmlib.Client client : mClients ) { if ( ( client.getClientData ( ) . getPid ( ) ) == pid ) { return true ; } } } return false ; }

Target:
void clearClientList ( ) { synchronized ( mClients ) { mClients.clear ( ) ; } clearClientInfo ( ) ; }
Source:
public boolean visitMethodDeclaration ( lombok.ast.MethodDeclaration node ) { if ( com.android.tools.lint.checks.IconDetector.ON_CREATE_OPTIONS_MENU.equals ( node.astMethodName ( ) . astValue ( ) ) ) { node.accept ( new com.android.tools.lint.checks.IconDetector.MenuFinder ( ) ) ; } return super . visitMethodDeclaration ( node ) ; }

Target:
public void visitMethod ( com.intellij.psi.PsiMethod method ) { if ( com.android.tools.lint.checks.IconDetector.ON_CREATE_OPTIONS_MENU.equals ( method.getName ( ) ) ) { method.accept ( new com.android.tools.lint.checks.IconDetector.MenuFinder ( ) ) ; } }
Source:
public void setHttpProxy ( java.lang.String host , java.lang.String port , java.lang.String exclList ) { android.net.Proxy.setHttpProxySystemProperty ( host , port , exclList ) ; }

Target:
public void setHttpProxy ( java.lang.String host , java.lang.String port , java.lang.String exclList , java.lang.String pacFileUrl ) { android.net.Proxy.setHttpProxySystemProperty ( host , port , exclList , pacFileUrl ) ; }
Source:
public com.android.tools.lint.client.api.Configuration getConfiguration ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return this . getConfiguration ( this , project ) ; }

Target:
public com.android.tools.lint.client.api.Configuration getConfiguration ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project , @ com.android.annotations.Nullable com.android.tools.lint.client.api.LintDriver driver ) { return this . getConfiguration ( this , project ) ; }
Source:
public com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) { return new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient ( null , null , null , false ) . getJavaParser ( ) ; }

Target:
public com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) { return new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient ( null , null , null , false ) . getJavaParser ( project ) ; }
Source:
public static native java.lang.String SSL_SESSION_get_version ( int sslSessionNativePointer ) ;

Target:
public static native long SSL_get_options ( long ssl ) ;
Source:
public void run ( ) { setHttpAuthUsernamePassword ( host , realm , username , password ) ; }

Target:
public android.net.http.SslCertificate call ( ) { return getCertificate ( ) ; }
Source:
void addToSize ( long increment ) { mSize += increment ; }

Target:
void addToSize ( com.android.ahat.heapdump.Size size ) { mSize = mSize.plus ( size ) ; }
Source:
public void testInstallWithMissingBundleVersionFile ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TzDataBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TzDataBundleInstallerTest.NEW_RULES_VERSION , "001" ) . clearVersionForTests ( ) . buildUnvalidated ( ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testInstallWithMissingBundleVersionFile ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , "001" ) . clearVersionForTests ( ) . buildUnvalidated ( ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
public void setScale ( double scale ) { org.eclipse.swt.graphics.Image thumbnail = mThumbnail ; mThumbnail = null ; if ( thumbnail != null ) { thumbnail.dispose ( ) ; } mScale = scale ; }

Target:
public void setScale ( double scale ) { disposeThumbnail ( ) ; mScale = scale ; }
Source:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = 7 ; b = 3 ; c = a * b ; return c ; }

Target:
public static double DoubleMultiplication ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 7.0 ) ; b = Main.$inline$double ( 3.0 ) ; c = a * b ; return c ; }
Source:
public native char getChar ( java.lang.Object obj , long offset ) ;

Target:
public native byte getByte ( java.lang.Object obj , long offset ) ;
Source:
public java.util.jar.JarFile.JarFileEntry nextElement ( ) { java.util.zip.ZipEntry ze = ( ( java.util.zip.ZipEntry ) ( enum_.nextElement ( ) ) ) ; return new java.util.jar.JarFile.JarFileEntry ( ze ) ; }

Target:
public java.util.jar.JarEntry next ( ) { java.util.zip.ZipEntry ze = e.nextElement ( ) ; return new java.util.jar.JarFile.JarFileEntry ( ze ) ; }
Source:
com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > getMostRecentPhoneLookupInfo ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) ;

Target:
com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , T > > getMostRecentInfo ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , T > existingInfoMap ) ;
Source:
public static void blockingUpdateAllNotifications ( final android.content.Context context ) { com.android.mms.transaction.MessagingNotification.nonBlockingUpdateNewMessageIndicator ( context , false , false ) ; com.android.mms.transaction.MessagingNotification.updateSendFailedNotification ( context ) ; com.android.mms.transaction.MessagingNotification.updateDownloadFailedNotification ( context ) ; }

Target:
public static void setCurrentlyDisplayedThreadId ( long threadId ) { synchronized ( com.android.mms.transaction.MessagingNotification.sCurrentlyDisplayedThreadLock ) { com.android.mms.transaction.MessagingNotification.sCurrentlyDisplayedThreadId = threadId ; } }
Source:
public void execute ( com.android.monkeyrunner.MonkeyDevice device ) { device.press ( key , MonkeyDevice.TOUCH_NAME_TO_ENUM.get ( downUpFlag ) ) ; }

Target:
public void execute ( com.android.monkeyrunner.core.IMonkeyDevice device ) { device.press ( key , MonkeyDevice.TOUCH_NAME_TO_ENUM.get ( downUpFlag ) ) ; }
Source:
public static void computeFdim ( android.renderscript.cts.TestFdim.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( float ) ( java.lang.StrictMath.max ( 0.0 , ( ( args.inA ) - ( args.inB ) ) ) ) ) ; }

Target:
public static void computeFdim ( android.renderscript.cts.TestFdim.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.max ( 0.0F , ( ( args.inA ) - ( args.inB ) ) ) , 0 , 0 ) ; }
Source:
public static void computeNativeSincos ( android.renderscript.cts.TestNativeSincos.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , true ) ; args.outCosptr = android.renderscript.cts.CoreMathVerifier.cos ( args.inV , t ) ; args.out = android.renderscript.cts.CoreMathVerifier.sin ( args.inV , t ) ; }

Target:
public static void computeNativeSincos ( android.renderscript.cts.TestNativeSincos.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , true ) ; args.outCos = android.renderscript.cts.CoreMathVerifier.cos ( args.inV , t ) ; args.out = android.renderscript.cts.CoreMathVerifier.sin ( args.inV , t ) ; }
Source:
public boolean visitMethodDeclaration ( lombok.ast.MethodDeclaration node ) { mFlagAllocations = com.android.tools.lint.checks.JavaPerformanceDetector.PerformanceVisitor.isBlockedAllocationMethod ( node ) ; return super . visitMethodDeclaration ( node ) ; }

Target:
public void visitMethod ( com.intellij.psi.PsiMethod node ) { mFlagAllocations = isBlockedAllocationMethod ( node ) ; }
Source:
public static long longToIntToLong ( long value ) { return ( ( long ) ( ( int ) ( value ) ) ) ; }

Target:
public static short $noinline$byteToDoubleToShort ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }
Source:
public native long getLong ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public byte getByte ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { return getByte ( object , isAccessible ( ) ) ; }
Source:
public void callSessionConferenceExtendReceived ( com.android.ims.internal.IImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtendReceived ( newSession , profile ) ; }

Target:
public void callSessionConferenceExtendReceived ( com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionConferenceExtendReceived ( newSession , profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
private void replay ( ) { org.easymock.EasyMock.replay ( mActivityManager , mStatsService , mPolicyListener , mNetworkManager , mTime , mConnManager , mNotifManager ) ; }

Target:
android.net.INetworkPolicyListener expect ( ) { assertNull ( "expect() called before waitAndVerify()" , latch ) ; latch = new java.util.concurrent.CountDownLatch ( 1 ) ; return org.mockito.Mockito.doAnswer ( this ) . when ( listener ) ; }
Source:
public boolean isGsm ( ) { return this . isGsm ; }

Target:
public boolean isGsm ( ) { return this . mIsGsm ; }
Source:
public void reset ( ) { if ( ( spec ) != ( top ) ) { spec = top ; isSpecLocale = ( res ) != null ; setupNext ( ) ; } }

Target:
public void reset ( ) { if ( ! ( com.ibm.icu.impl.Utility.sameObjects ( spec , top ) ) ) { spec = top ; isSpecLocale = ( res ) != null ; setupNext ( ) ; } }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . createCallSession ( mSlotId , mSupportedFeature , sessionId , profile , listener ) ; } }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . createCallSession ( mSlotId , mSupportedFeature , sessionId , profile , listener ) ; } }
Source:
public static void setTempDirectory ( android.content.Context context ) { com.android.voicemail.impl.mail.TempDirectory.sTempDirectory = context.getCacheDir ( ) ; }

Target:
public static void setTempDirectory ( android.content.Context context ) { com.android.voicemail.impl.mail.TempDirectory.tempDirectory = context.getCacheDir ( ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , long [ ] d ) { validateIsInt64 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , int [ ] d ) { validateIsInt32 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.SIGNED_32 , d.length ) ; }
Source:
public java.util.List < javax.net.ssl.SNIServerName > getRequestedServerNames ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public java.util.List < javax.net.ssl.SNIServerName > getRequestedServerNames ( ) { java.lang.String requestedServerName = delegate.getRequestedServerName ( ) ; if ( requestedServerName == null ) { return null ; } return java.util.Collections.< javax.net.ssl.SNIServerName > singletonList ( new javax.net.ssl.SNIHostName ( requestedServerName ) ) ; }
Source:
public static long $noinline$longToIntToLong ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( long ) ( ( int ) ( value ) ) ) ; }

Target:
public static double $noinline$longToIntToDouble ( long value ) { return ( ( double ) ( ( int ) ( value ) ) ) ; }
Source:
public void setVideoState ( java.lang.String callId , int videoState ) { findConnectionForAction ( callId , "setVideoState" ) . setVideoState ( videoState ) ; }

Target:
public void setVideoState ( java.lang.String callId , int videoState , android.telecom.Logging.Session.Info sessionInfo ) { findConnectionForAction ( callId , "setVideoState" ) . setVideoState ( videoState ) ; }
Source:
public void onHostCardEmulationData ( byte [ ] data ) { if ( ( mCardEmulationManager ) != null ) { mCardEmulationManager.onHostCardEmulationData ( data ) ; } }

Target:
public void onHostCardEmulationActivated ( int technology ) { if ( ( mCardEmulationManager ) != null ) { mCardEmulationManager.onHostCardEmulationActivated ( technology ) ; } }
Source:
public void run ( ) { libcore.util.NativeAllocationRegistry registry = new libcore.util.NativeAllocationRegistry ( libcore.util.NativeAllocationRegistryTest.getNativeFinalizer ( ) , ( - 8 ) ) ; }

Target:
public void run ( ) { libcore.util.NativeAllocationRegistry registry = new libcore.util.NativeAllocationRegistry ( classLoader , libcore.util.NativeAllocationRegistryTest.getNativeFinalizer ( ) , ( - 8 ) ) ; }
Source:
void unSetOnStkProactiveCmd ( android.os.Handler h ) ;

Target:
void unSetOnCatProactiveCmd ( android.os.Handler h ) ;
Source:
public void setEnrichedCallSession ( @ android.support.annotation.Nullable com.android.dialer.enrichedcall.Session mEnrichedCallSession ) { this . mEnrichedCallSession = mEnrichedCallSession ; }

Target:
public void setEnrichedCallSession ( @ android.support.annotation.Nullable com.android.dialer.enrichedcall.Session mEnrichedCallSession ) { this . enrichedCallSession = mEnrichedCallSession ; }
Source:
static long $opt$IntToLong ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }

Target:
static long $opt$noinline$IntToLong ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
public boolean isMobileNumberPortableRegion ( java.lang.String regionCode ) { com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata metadata = getMetadataForRegion ( regionCode ) ; if ( metadata == null ) { com.google.i18n.phonenumbers.PhoneNumberUtil.logger.log ( java.util.logging.Level.WARNING , ( "Invalid or unknown region code provided: " + regionCode ) ) ; return false ; } return metadata.mobileNumberPortableRegion ; }

Target:
public boolean isMobileNumberPortableRegion ( java.lang.String regionCode ) { com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata metadata = getMetadataForRegion ( regionCode ) ; if ( metadata == null ) { com.google.i18n.phonenumbers.PhoneNumberUtil.logger.log ( java.util.logging.Level.WARNING , ( "Invalid or unknown region code provided: " + regionCode ) ) ; return false ; } return metadata.isMobileNumberPortableRegion ( ) ; }
Source:
public org.bouncycastle.math.ec.PreCompInfo getPreCompInfo ( org.bouncycastle.math.ec.ECPoint p ) { checkPoint ( p ) ; return p.preCompInfo ; }

Target:
public org.bouncycastle.math.ec.ECPoint validatePoint ( java.math.BigInteger x , java.math.BigInteger y ) { org.bouncycastle.math.ec.ECPoint p = createPoint ( x , y ) ; if ( ! ( p.isValid ( ) ) ) { throw new java.lang.IllegalArgumentException ( "Invalid point coordinates" ) ; } return p ; }
Source:
void libToExe ( @ javax.annotation.Nonnull java.io.File in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception ;

Target:
void libToLib ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;
Source:
public final void setPriority ( int streamID , int priority ) { }

Target:
public void setVolume ( int streamID , float volume ) { }
Source:
public void testQuickFix_NonApiMethodAnnotation ( ) { com.intellij.openapi.project.Project myProject = myFixture.getProject ( ) ; java.lang.String annotationString = ( "@" + ( com.google.gct.intellij.endpoints.GctConstants.APP_ENGINE_ANNOTATION_NAMED ) ) + "(name = \"someName\")" ; com.intellij.psi.PsiAnnotation annotation = com.intellij.psi.JavaPsiFacade.getInstance ( myProject ) . getElementFactory ( ) . createAnnotationFromText ( annotationString , null ) ; com.google.gct.intellij.endpoints.validation.FullMethodNameInspection.MyQuickFix myQuickFix = new com.google.gct.intellij.endpoints.validation.FullMethodNameInspection ( ) . new com.google.gct.intellij.endpoints.validation.MyQuickFix ( ) ; com.intellij.testFramework.MockProblemDescriptor problemDescriptor = new com.intellij.testFramework.MockProblemDescriptor ( annotation , "" , com.intellij.codeInspection.ProblemHighlightType.ERROR , null ) ; myQuickFix.applyFix ( myProject , problemDescriptor ) ; junit.framework.Assert.assertEquals ( annotationString , annotation.getText ( ) ) ; }

Target:
public void testQuickFix_NonApiMethodAnnotation ( ) { com.intellij.openapi.project.Project myProject = myFixture.getProject ( ) ; java.lang.String annotationString = ( "@" + ( com.google.gct.idea.appengine.GctConstants.APP_ENGINE_ANNOTATION_NAMED ) ) + "(name = \"someName\")" ; com.intellij.psi.PsiAnnotation annotation = com.intellij.psi.JavaPsiFacade.getInstance ( myProject ) . getElementFactory ( ) . createAnnotationFromText ( annotationString , null ) ; com.google.gct.idea.appengine.validation.FullMethodNameInspection.MyQuickFix myQuickFix = new com.google.gct.idea.appengine.validation.FullMethodNameInspection ( ) . new com.google.gct.idea.appengine.validation.MyQuickFix ( ) ; com.intellij.testFramework.MockProblemDescriptor problemDescriptor = new com.intellij.testFramework.MockProblemDescriptor ( annotation , "" , com.intellij.codeInspection.ProblemHighlightType.ERROR , null ) ; myQuickFix.applyFix ( myProject , problemDescriptor ) ; junit.framework.Assert.assertEquals ( annotationString , annotation.getText ( ) ) ; }
Source:
public java.util.Map < ? , ? > getDefaultAttributes ( ) { java.util.Map < java.lang.String , java.lang.String > result = new java.util.HashMap < java.lang.String , java.lang.String > ( ) ; result.put ( com.android.ide.common.layout.ATTR_LAYOUT_WIDTH , com.android.ide.common.layout.VALUE_FILL_PARENT ) ; return result ; }

Target:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; node.setAttribute ( com.android.ide.common.layout.ANDROID_URI , com.android.ide.common.layout.ATTR_LAYOUT_WIDTH , com.android.ide.common.layout.VALUE_FILL_PARENT ) ; }
Source:
static int $opt$LongLiteralToInt ( ) { return ( ( int ) ( 42L ) ) ; }

Target:
static int $opt$LongLiteralToInt ( ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( 42L ) ) ; }
Source:
public abstract boolean isEnabled ( ) ;

Target:
public abstract boolean isCheckable ( ) ;
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { setTestResultAndFinish ( false ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { finish ( ) ; }
Source:
public static double DoubleAddition ( ) { double a ; double b ; double c ; a = 1.0 ; b = 2.0 ; c = a + b ; return c ; }

Target:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a % b ; return c ; }
Source:
native long rsnContextCreate ( long dev , int ver , int sdkVer , int contextType ) ;

Target:
native long rsnContextCreate ( long dev , int ver , int sdkVer , int contextType , java.lang.String nativeLibDir ) ;
Source:
public static float ReturnFloat34 ( ) { long imm = Main.$inline$long ( 34L ) ; return ( ( float ) ( imm ) ) ; }

Target:
public static float ReturnFloat33 ( ) { int imm = 33 ; return ( ( float ) ( imm ) ) ; }
Source:
public java.lang.String getCallingPackage ( android.os.IBinder token ) { synchronized ( this ) { com.android.server.am.HistoryRecord r = getCallingRecordLocked ( token ) ; return ( r != null ) && ( ( r.app ) != null ) ? r.info.packageName : null ; } }

Target:
public java.lang.String getCallingPackage ( android.os.IBinder token ) { synchronized ( this ) { com.android.server.am.ActivityRecord r = getCallingRecordLocked ( token ) ; return ( r != null ) && ( ( r.app ) != null ) ? r.info.packageName : null ; } }
Source:
java.lang.Object getAdapterItemValue ( com.android.ide.common.rendering.api.ResourceReference adapterView , java.lang.Object adapterCookie , com.android.ide.common.rendering.api.ResourceReference itemRef , int fullPosition , int typePosition , int fullChildPosition , int typeChildPosition , com.android.ide.common.rendering.api.ResourceReference viewRef , com.android.ide.common.rendering.api.IProjectCallback.ViewAttribute viewAttribute , java.lang.Object defaultValue ) ;

Target:
java.lang.Object getAdapterItemValue ( com.android.ide.common.rendering.api.ResourceReference adapterView , java.lang.Object adapterCookie , com.android.ide.common.rendering.api.ResourceReference itemRef , int fullPosition , int positionPerType , int fullParentPosition , int parentPositionPerType , com.android.ide.common.rendering.api.ResourceReference viewRef , com.android.ide.common.rendering.api.IProjectCallback.ViewAttribute viewAttribute , java.lang.Object defaultValue ) ;
Source:
public static int ReturnInt0 ( ) { double imm = java.lang.Double.NaN ; return ( ( int ) ( imm ) ) ; }

Target:
public static int ReturnInt0 ( ) { double imm = Main.$inline$double ( java.lang.Double.NaN ) ; return ( ( int ) ( imm ) ) ; }
Source:
protected void close ( ) { if ( ( fd ) != null ) { datagramSocketClose ( ) ; sun.net.ResourceManager.afterUdpClose ( ) ; fd = null ; } }

Target:
protected void close ( ) { guard.close ( ) ; if ( ( fd ) != null ) { datagramSocketClose ( ) ; sun.net.ResourceManager.afterUdpClose ( ) ; fd = null ; } }
Source:
public org.objectweb.asm.AnnotationVisitor visitAnnotation ( java.lang.String name , java.lang.String desc ) { return new com.android.build.gradle.tasks.ResourceUsageAnalyzer.AnnotationUsageVisitor ( ) ; }

Target:
public org.objectweb.asm.AnnotationVisitor visitArray ( java.lang.String name ) { return new com.android.build.gradle.tasks.ResourceUsageAnalyzer.UsageVisitor.AnnotationUsageVisitor ( ) ; }
Source:
private void checkNull ( java.util.regex.Pattern pattern ) { if ( pattern == null ) { throw new java.lang.NullPointerException ( "pattern == null" ) ; } }

Target:
private void checkNotNull ( java.util.regex.Pattern pattern ) { if ( pattern == null ) { throw new java.lang.NullPointerException ( "pattern == null" ) ; } }
Source:
public boolean matches ( android.icu.text.PluralRules.FixedDecimal sample , java.lang.String keyword ) { return rules.select ( sample , keyword ) ; }

Target:
public java.lang.String select ( android.icu.text.PluralRules.IFixedDecimal number ) { return rules.select ( number ) ; }
Source:
public static com.google.common.base.Objects.ToStringHelper toStringHelper ( java.lang.Class < ? > clazz ) { return new com.google.common.base.Objects.ToStringHelper ( com.google.common.base.Objects.simpleName ( clazz ) ) ; }

Target:
public static com.google.common.base.Objects.ToStringHelper toStringHelper ( java.lang.Class < ? > clazz ) { return new com.google.common.base.Objects.ToStringHelper ( com.google.common.base.MoreObjects.simpleName ( clazz ) ) ; }
Source:
public void testVFE8 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aget_wide.d.T_aget_wide_10" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.aget_wide.d.T_aget_wide_1" , java.lang.ArrayIndexOutOfBoundsException.class , new long [ 2 ] , 2 ) ; }
Source:
public com.android.sched.vfs.InputVFile getInputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { java.util.zip.ZipEntry entry = zip.getEntry ( path.getPathAsString ( com.android.sched.vfs.zip.InputZipRootVDir.IN_ZIP_SEPARATOR ) ) ; return new com.android.sched.vfs.zip.InputZipVFile ( path.getLastPathElement ( ) , zip , entry ) ; }

Target:
public com.android.sched.vfs.InputVFile getInputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { java.util.zip.ZipEntry entry = zip.getEntry ( path.getPathAsString ( com.android.sched.vfs.InputZipRootVDir.IN_ZIP_SEPARATOR ) ) ; return new com.android.sched.vfs.InputZipVFile ( path.getLastPathElement ( ) , zip , entry ) ; }
Source:
public void test_U8_2_SCALE10_10_inSqure ( ) { testReszie ( inX , inX , Element.DataType.UNSIGNED_8 , 2 , 1.0F , 1.0F ) ; }

Target:
public void test_U8_2_SCALE10_10_inSqure ( ) { testResize ( inX , inX , Element.DataType.UNSIGNED_8 , 2 , 1.0F , 1.0F ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField node ) { if ( ( node.getAnnotation ( installerAnnotation ) ) != null ) { markIfNecessary ( node ) ; } return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField node ) { if ( ! ( node.getAnnotations ( installerAnnotation ) . isEmpty ( ) ) ) { markIfNecessary ( node ) ; } return false ; }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.AtraceUtils.atraceDumpAndSend ( getContext ( ) ) ; return true ; }

Target:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { refresh ( true ) ; android.widget.Toast.makeText ( getContext ( ) , getContext ( ) . getString ( R.string.default_categories_restored ) , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }
Source:
protected boolean stop ( ) { if ( com.android.bluetooth.hid.HidService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidService.TAG , "Stopping Bluetooth HidService" ) ; } return true ; }

Target:
protected boolean stop ( ) { if ( com.android.bluetooth.hid.HidHostService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidHostService.TAG , "Stopping Bluetooth HidHostService" ) ; } return true ; }
Source:
private static native long openDexFile ( java.lang.String sourceName , java.lang.String outputName , int flags ) ;

Target:
private static native long openDexFileNative ( java.lang.String sourceName , java.lang.String outputName , int flags ) ;
Source:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 8.0F ) ; b = Main.$inline$float ( 2.5F ) ; c = a / b ; return c ; }

Target:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = 8.0 ; b = 2.5 ; c = a % b ; return c ; }
Source:
public void loadLibrary ( java.lang.String libname , java.lang.ClassLoader classLoader ) { java.lang.System.logE ( ( "java.lang.Runtime#loadLibrary(String, ClassLoader)" + " is private and will be removed in a future Android release" ) ) ; loadLibrary0 ( classLoader , libname ) ; }

Target:
public void loadLibrary ( java.lang.String libname , java.lang.ClassLoader classLoader ) { checkTargetSdkVersionForLoad ( "java.lang.Runtime#loadLibrary(String, ClassLoader)" ) ; java.lang.System.logE ( ( "java.lang.Runtime#loadLibrary(String, ClassLoader)" + " is private and will be removed in a future Android release" ) ) ; loadLibrary0 ( classLoader , libname ) ; }
Source:
public void test_joinSourceSpecific_groupBind_ipv4 ( ) throws java.lang.Exception { if ( ! ( supportsMulticast ) ) { return ; } java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( ipv4NetworkInterface ) ; test_joinSourceSpecific ( ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 , ipv6NetworkInterface ) ; }

Target:
public void test_joinSourceSpecific_groupBind_ipv4 ( ) throws java.lang.Exception { if ( ! ( supportsMulticast ) ) { return ; } java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( ipv4NetworkInterface ) ; check_joinSourceSpecific ( ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 , ipv6NetworkInterface ) ; }
Source:
public void TestTitleAccents ( ) { android.icu.text.Transliterator t = android.icu.text.Transliterator.getInstance ( "Title" ) ; expect ( t , "àb can\'t abe" , "Àb Can\'t Abe" ) ; }

Target:
public void TestTitleAccents ( ) { android.icu.text.Transliterator t = android.icu.text.Transliterator.getInstance ( "Title" ) ; android.icu.dev.test.translit.TransliteratorTest.expect ( t , "àb can\'t abe" , "Àb Can\'t Abe" ) ; }
Source:
protected void fillRtTestInfos ( ) { rtTestInfos.add ( TEST001 ) ; rtTestInfos.add ( TEST002 ) ; rtTestInfos.add ( TEST003 ) ; rtTestInfos.add ( TEST004 ) ; rtTestInfos.add ( TEST005 ) ; }

Target:
protected void fillRtTestInfos ( ) { rtTestInfos.add ( TEST001 ) ; rtTestInfos.add ( TEST002 ) ; rtTestInfos.add ( TEST003 ) ; rtTestInfos.add ( TEST004 ) ; rtTestInfos.add ( TEST005 ) ; rtTestInfos.add ( TEST006 ) ; }
Source:
public void removeTransportModeTransform ( android.os.ParcelFileDescriptor socket , int resourceId ) throws android.os.RemoteException { try { getNetdInstance ( ) . ipSecRemoveTransportModeTransform ( socket.getFileDescriptor ( ) ) ; } catch ( android.os.ServiceSpecificException e ) { } }

Target:
public void removeTransportModeTransform ( android.os.ParcelFileDescriptor socket , int resourceId ) throws android.os.RemoteException { try { mSrvConfig.getNetdInstance ( ) . ipSecRemoveTransportModeTransform ( socket.getFileDescriptor ( ) ) ; } catch ( android.os.ServiceSpecificException e ) { } }
Source:
private void expectNetworkStatsSummary ( android.net.NetworkStats summary ) throws java.lang.Exception { org.easymock.EasyMock.expect ( mConnManager.getAllVpnInfo ( ) ) . andReturn ( new com.android.internal.net.VpnInfo [ 0 ] ) . atLeastOnce ( ) ; expectNetworkStatsSummaryDev ( summary ) ; expectNetworkStatsSummaryXt ( summary ) ; }

Target:
private void expectNetworkStatsSummary ( android.net.NetworkStats summary ) throws java.lang.Exception { org.mockito.Mockito.when ( mConnManager.getAllVpnInfo ( ) ) . thenReturn ( new com.android.internal.net.VpnInfo [ 0 ] ) ; expectNetworkStatsSummaryDev ( summary ) ; expectNetworkStatsSummaryXt ( summary ) ; }
Source:
public V setValue ( V value ) { com.google.common.base.Preconditions.checkArgument ( apply ( entry.getKey ( ) , value ) ) ; return super . setValue ( value ) ; }

Target:
public V put ( K key , V value ) { return filteredDelegate.put ( key , value ) ; }
Source:
public java.lang.Class < ? > getDeclaringClass ( ) { return super . getDeclaringClass ( ) ; }

Target:
public java.lang.Class < ? > getDeclaringClass ( ) { return super . getDeclaringClassInternal ( ) ; }
Source:
private static org.eclipse.jdt.core.dom.TagElement createIcuEnhancementText ( org.eclipse.jdt.core.dom.AST ast , org.eclipse.jdt.core.dom.IDocElement fragment ) { return com.google.currysrc.api.transform.ast.AstNodes.createTextTagElement ( ast , ( ( "<strong>[icu enhancement]</strong> ICU's replacement for {@link" + ( fragment.toString ( ) ) ) + "}" ) ) ; }

Target:
private static org.eclipse.jdt.core.dom.TagElement createIcuEnhancementText ( org.eclipse.jdt.core.dom.AST ast , org.eclipse.jdt.core.dom.IDocElement fragment ) { return com.google.currysrc.api.process.ast.AstNodes.createTextTagElement ( ast , ( ( "<strong>[icu enhancement]</strong> ICU's replacement for {@link" + ( fragment.toString ( ) ) ) + "}" ) ) ; }
Source:
public void testE1 ( ) { try { dot.junit.opcodes.const_class.d.T_const_class_6 t = new dot.junit.opcodes.const_class.d.T_const_class_6 ( ) ; t.run ( ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.NoClassDefFoundError e ) { } catch ( java.lang.VerifyError e ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.const_class.d.T_const_class_6" , java.lang.NoClassDefFoundError.class ) ; }
Source:
public java.lang.String obtainVerificationCodeFromUserInteraction ( java.lang.String title , com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeRequestUrl authCodeRequestUrl ) { return null ; }

Target:
public com.google.api.client.auth.oauth2.Credential makeCredential ( ) { com.google.gct.login.CredentialedUser activeUser = users.getActiveUser ( ) ; if ( activeUser == null ) { return null ; } else { return activeUser.getGoogleLoginState ( ) . makeCredential ( ) ; } }
Source:
public void readNull ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_NULL ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; }

Target:
public void readNull ( ) { checkType ( com.android.dex.EncodedValueReader.ENCODED_NULL ) ; type = com.android.dex.EncodedValueReader.MUST_READ ; }
Source:
public void test_oneJar_getStaticVariable ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_getStaticVariable ( dalvik.system.DexClassLoaderTest.Configuration.ONE_JAR ) ; }

Target:
public void test_twoJar_init ( ) throws java.lang.Exception { java.lang.ClassLoader cl = createLoader ( jar1 , jar2 ) ; java.io.File [ ] files = optimizedDir.listFiles ( dalvik.system.DexClassLoaderTest.DEX_FILE_NAME_FILTER ) ; assertNotNull ( files ) ; assertEquals ( 2 , files.length ) ; }
Source:
native void rsnScriptSetVarF ( long con , long id , int slot , float val ) ;

Target:
native void rsnScriptSetVarF ( long con , long id , int slot , float val , boolean mUseInc ) ;
Source:
public static int IntRemainder ( ) { int a ; int b ; int c ; a = 8 ; b = 3 ; c = a % b ; return c ; }

Target:
public static int IntRemainder ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 8 ) ; b = Main.$inline$int ( 3 ) ; c = a % b ; return c ; }
Source:
public void getAllowedCarriersResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean var2 , android.hardware.radio.V1_0.CarrierRestrictions var3 ) { }

Target:
public void getAllowedCarriersResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean allAllowed , android.hardware.radio.V1_0.CarrierRestrictions carriers ) { responseCarrierIdentifiers ( responseInfo , allAllowed , carriers ) ; }
Source:
public static java.lang.String getQualifiedClassName ( final java.lang.String name ) { return com.intellij.openapi.util.text.StringUtil.replaceChar ( org.jetbrains.asm4.Type.getObjectType ( name ) . getClassName ( ) , '$' , '.' ) ; }

Target:
public static java.lang.String getQualifiedClassName ( final java.lang.String name ) { return com.intellij.openapi.util.text.StringUtil.replaceChar ( org.jetbrains.org.objectweb.asm.Type.getObjectType ( name ) . getClassName ( ) , '$' , '.' ) ; }
Source:
public java.lang.String getCompileSdkVersion ( ) { return compileSdkVersion ; }

Target:
public java.lang.String getCompileSdkVersion ( ) { if ( ! ( resolvedSdkVersion ) ) { resolveCompileSdkVersion ( ) ; } return compileSdkVersion ; }
Source:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientStateMachine.TAG , ( "Enter Connected: " + ( getCurrentMessage ( ) . what ) ) ) ; onConnectionStateChanged ( mCurrentDevice , mMostRecentState , BluetoothProfile.STATE_CONNECTED ) ; mMostRecentState = android.bluetooth.BluetoothProfile.STATE_CONNECTED ; }

Target:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientStateMachine.TAG , ( "Enter Connected: " + ( getCurrentMessage ( ) . what ) ) ) ; onConnectionStateChanged ( mCurrentDevice , mMostRecentState , BluetoothProfile.STATE_CONNECTED ) ; mMostRecentState = android.bluetooth.BluetoothProfile.STATE_CONNECTED ; mConnectionHandler.obtainMessage ( PbapClientConnectionHandler.MSG_DOWNLOAD ) . sendToTarget ( ) ; }
Source:
public void onAmbiguousContactClicked ( java.lang.String lookupKey ) { com.android.dialer.speeddial.DisambigDialog.show ( lookupKey , getFragmentManager ( ) ) ; }

Target:
public void onAmbiguousContactClicked ( java.util.List < com.android.dialer.speeddial.database.SpeedDialEntry.Channel > channels ) { }
Source:
private native void gattClientStartBatchScanNative ( int client_if , int scan_mode , int scan_interval_unit , int scan_window_unit , int address_type , int discard_rule ) ;

Target:
private native void gattClientStartBatchScanNative ( int clientIf , int scanMode , int scanIntervalUnit , int scanWindowUnit , int addressType , int discardRule ) ;
Source:
public void registerForCdmaOtaStatusChange ( android.os.Handler h , int what , java.lang.Object obj ) { mCM.registerForCdmaOtaProvision ( h , what , obj ) ; }

Target:
public void registerForCdmaOtaStatusChange ( android.os.Handler h , int what , java.lang.Object obj ) { mCi.registerForCdmaOtaProvision ( h , what , obj ) ; }
Source:
private final native int readAssetChar ( int asset ) ;

Target:
private final native long getAssetLength ( long asset ) ;
Source:
protected void printMethodHeader ( com.android.jack.ir.ast.JMethod x ) { print ( com.android.jack.ir.ast.JModifier.getStringMethodModifier ( x.getModifier ( ) ) ) ; printType ( x ) ; space ( ) ; printName ( x ) ; printParameterList ( x ) ; }

Target:
protected void printMethodHeader ( com.android.jack.ir.ast.JMethod x ) { print ( com.android.jack.ir.ast.JModifier.getStringMethodModifier ( x.getModifier ( ) ) ) ; print ( formatter.getName ( x ) ) ; }
Source:
public void testMoveAppForwardLocked ( ) { int installFlags = PackageManager.INSTALL_FORWARD_LOCK ; int moveFlags = PackageManager.MOVE_EXTERNAL_MEDIA ; boolean fail = true ; int result = PackageManager.MOVE_FAILED_FORWARD_LOCKED ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }

Target:
public void testMoveAppForwardLocked ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } int installFlags = android.content.pm.PackageManager.INSTALL_FORWARD_LOCK ; int moveFlags = android.content.pm.PackageManager.MOVE_EXTERNAL_MEDIA ; boolean fail = true ; int result = android.content.pm.PackageManager.MOVE_FAILED_FORWARD_LOCKED ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }
Source:
public com.android.jack.test.toolchain.JackApiV01Toolchain setWithDebugInfos ( boolean withDebugInfos ) { try { apiV01Config.setEmitDebug ( withDebugInfos ) ; return this ; } catch ( com.android.jack.api.v01.ConfigurationException e ) { throw new com.android.jack.test.TestConfigurationException ( e ) ; } }

Target:
public com.android.jack.test.toolchain.JackApiV01Toolchain setWithDebugInfos ( boolean withDebugInfos ) { try { apiV01Config.setDebugInfoLevel ( DebugInfoLevel.FULL ) ; return this ; } catch ( com.android.jack.api.v01.ConfigurationException e ) { throw new com.android.jack.test.TestConfigurationException ( e ) ; } }
Source:
public void visitSignatureAttribute ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.SignatureAttribute signatureAttribute ) { signatureAttribute.referencedClasses = findReferencedClasses ( clazz.getName ( ) , clazz.getString ( signatureAttribute.u2signatureIndex ) ) ; }

Target:
public void visitSignatureAttribute ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.SignatureAttribute signatureAttribute ) { signatureAttribute.referencedClasses = findReferencedClasses ( clazz.getName ( ) , signatureAttribute.getSignature ( clazz ) ) ; }
Source:
public static java.nio.FloatBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.ReadWriteFloatArrayBuffer ( capacity ) ; }

Target:
public static java.nio.FloatBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.FloatArrayBuffer ( new float [ capacity ] ) ; }
Source:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback callback , int subscriptionId ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsStreamingManager manager = new android.telephony.MbmsStreamingManager ( context , callback , subscriptionId ) ; manager.bindAndInitialize ( ) ; return manager ; }

Target:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback callback , int subscriptionId , android.os.Handler handler ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsStreamingManager manager = new android.telephony.MbmsStreamingManager ( context , callback , subscriptionId , handler ) ; manager.bindAndInitialize ( ) ; return manager ; }
Source:
public void actionPerformed ( com.intellij.openapi.actionSystem.AnActionEvent e ) { com.google.gct.testing.CloudTestConfigurationImpl newConfiguration = ( ( selectedConfiguration ) != null ) ? selectedConfiguration.copy ( "Copy of " ) : new com.google.gct.testing.CloudTestConfigurationImpl ( facet ) ; addNewConfiguration ( newConfiguration ) ; }

Target:
private void doAdd ( ) { addNewConfiguration ( new com.google.gct.testing.CloudConfigurationImpl ( facet , configurationKind ) ) ; }
Source:
public void run ( ) { android.app.Notification n = new android.app.Notification ( R.drawable.icon1 , "tick tick tick" , java.lang.System.currentTimeMillis ( ) ) ; n.setLatestEventInfo ( this , "Persistent #1" , "This is a notification!!!" , makeIntent ( ) ) ; mNM.notify ( 1 , n ) ; }

Target:
public void run ( ) { android.app.Notification n = new android.app.Notification ( R.drawable.icon2 , "tock tock tock" , java.lang.System.currentTimeMillis ( ) ) ; n.setLatestEventInfo ( this , "Persistent #3" , "Notify me!!!" , makeIntent ( ) ) ; mNM.notify ( 3 , n ) ; }
Source:
private static void listIssue ( java.io.PrintStream out , com.android.tools.lint.detector.api.Issue issue ) { out.print ( com.android.tools.lint.Main.wrapArg ( ( ( ( "\"" + ( issue.getId ( ) ) ) + "\": " ) + ( issue.getDescription ( ) ) ) ) ) ; }

Target:
private static void listIssue ( java.io.PrintStream out , com.android.tools.lint.detector.api.Issue issue ) { out.print ( com.android.tools.lint.Main.wrapArg ( ( ( ( "\"" + ( issue.getId ( ) ) ) + "\": " ) + ( issue.getDescription ( com.android.tools.lint.detector.api.Issue.OutputFormat.TEXT ) ) ) ) ) ; }
Source:
public void exit ( ) { loge ( "WifiStateMachine: Leaving Connected state" ) ; setScanAlarm ( false , 0 ) ; mLastDriverRoamAttempt = 0 ; }

Target:
public void exit ( ) { logd ( "WifiStateMachine: Leaving Connected state" ) ; mWifiConnectivityManager.handleConnectionStateChanged ( WifiConnectivityManager.WIFI_STATE_TRANSITIONING ) ; mLastDriverRoamAttempt = 0 ; mWifiInjector.getWifiLastResortWatchdog ( ) . connectedStateTransition ( false ) ; }