Skip to content

Commit

Permalink
Fixes java-decompiler#56, "Bad <init> method call from inside of a br…
Browse files Browse the repository at this point in the history
…anch"
  • Loading branch information
emmanue1 committed Jul 12, 2015
1 parent b1bba36 commit bb5fe52
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

package org.jd.gui.service.preferencespanel

import groovy.transform.CompileStatic
import org.jd.gui.spi.PreferencesPanel

import javax.swing.*
Expand All @@ -13,6 +14,7 @@ import java.awt.*
/**
* Single instance is the default mode on Mac OSX, so this panel is not activated.
*/
@CompileStatic
class UISingleInstancePreferencesProvider extends JPanel implements PreferencesPanel {

static final String SINGLE_INSTANCE = 'UIMainWindowPreferencesProvider.singleInstance'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

package org.jd.gui.service.preferencespanel

import groovy.transform.CompileStatic
import org.jd.gui.spi.PreferencesPanel

import javax.swing.JCheckBox
Expand All @@ -16,6 +17,7 @@ import java.awt.GridLayout
* JTabbedPane.WRAP_TAB_LAYOUT is not supported by Aqua L&F.
* This panel is not activated on Mac OSX.
*/
@CompileStatic
class UITabsPreferencesProvider extends JPanel implements PreferencesPanel {

static final String TAB_LAYOUT = 'UITabsPreferencesProvider.singleLineTabs'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@

package org.jd.gui.service.preferencespanel

import groovy.transform.CompileStatic
import org.jd.gui.spi.PreferencesPanel

import javax.swing.JCheckBox
import javax.swing.JPanel
import java.awt.Color
import java.awt.GridLayout

@CompileStatic
class ClassFileSaverPreferencesProvider extends JPanel implements PreferencesPanel {

static final String ESCAPE_UNICODE_CHARACTERS = 'ClassFileSaverPreferences.escapeUnicodeCharacters'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@

package org.jd.gui.service.preferencespanel

import groovy.transform.CompileStatic
import org.jd.gui.spi.PreferencesPanel

import javax.swing.JCheckBox
import javax.swing.JPanel
import java.awt.Color
import java.awt.GridLayout

@CompileStatic
class ClassFileViewerPreferencesProvider extends JPanel implements PreferencesPanel {
static final String ESCAPE_UNICODE_CHARACTERS = 'ClassFileViewerPreferences.escapeUnicodeCharacters'
static final String OMIT_THIS_PREFIX = 'ClassFileViewerPreferences.omitThisPrefix'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

package org.jd.gui.service.preferencespanel

import groovy.transform.CompileStatic
import org.jd.gui.spi.PreferencesPanel

import javax.swing.JLabel
Expand All @@ -15,6 +16,7 @@ import javax.swing.event.DocumentListener
import java.awt.BorderLayout
import java.awt.Color

@CompileStatic
class DirectoryIndexerPreferencesProvider extends JPanel implements PreferencesPanel, DocumentListener {
static final int MAX_VALUE = 30
static final String MAXIMUM_DEPTH_KEY = 'DirectoryIndexerPreferences.maximumDepth'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

package org.jd.gui.service.preferencespanel

import groovy.transform.CompileStatic
import org.jd.gui.spi.PreferencesPanel
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
import org.fife.ui.rsyntaxtextarea.Theme
Expand All @@ -14,6 +15,7 @@ import javax.swing.event.DocumentEvent
import javax.swing.event.DocumentListener
import java.awt.*

@CompileStatic
class ViewerPreferencesProvider extends JPanel implements PreferencesPanel, DocumentListener {
static final int MIN_VALUE = 2
static final int MAX_VALUE = 40
Expand Down

0 comments on commit bb5fe52

Please sign in to comment.