Right-click in the Java Editor and select Refactor > Encapsulate Fields.
Java エディタを右クリックし、「リファクタリング」「フィールドをカプセル化」を選択します。 - NetBeans
Right-click in the editor and choose Refactor Encapsulate Fields.
エディタ内を右クリックし、「リファクタリング」「フィールドをカプセル化」を選択します。 - NetBeans
Right-click anywhere in the Java editor and choose Refactor Encapsulate Fields.
Java エディタ内を右クリックし、「リファクタリング」「フィールドをカプセル化」を選択します。 - NetBeans
Right-click in the Source Editor and choose Refactor Encapsulate Fields.
ソースエディタ内を右クリックし、「リファクタリング」「フィールドをカプセル化」を選択します。 - NetBeans
Right-click in the Source Editor and select Refactor Encapsulate Fields.
ソースエディタ内で右クリックし、「リファクタリング」「フィールドをカプセル化」を選択します。 - NetBeans
Right-click the name field in the Source Editor and choose Refactor Encapsulate Fields. ソースエディタで name フィールドを右クリックし、「リファクタリング」「フィールドをカプセル化」を選択します。 - NetBeans
Most refactoring commands are accessible from the Refactor menu on the main menu bar.
ほとんどのリファクタリングコマンドは、メインメニューバーの「リファクタリング」メニューからアクセスできます。 - NetBeans
Then select the property from the list, select which methods to add, and click Refactor.
一覧からプロパティーを選択し、追加するメソッドを選択して「リファクタリング」をクリックします。 - NetBeans
Right-click the folder under this node and select Refactor > Rename from the pop-up menu.
このノードで、フォルダを右クリックし、ポップアップメニューから「リファクタリング」「名前を変更」を選択します。 - NetBeans
Choose Refactor Encapsulate Fields to generate the getters and setters for the fields.
「リファクタリング」「フィールドをカプセル化」を選択し、これらのフィールドの取得メソッドおよび設定メソッドを生成します。 - NetBeans
You can also right-click in the Source Editor or on a class node in the Projects window and choose a command from the Refactor submenu.
ソースエディタで右クリックするか、「プロジェクト」ウィンドウでクラスノードを右クリックし、「リファクタリング」サブメニューからコマンドを選択します。 - NetBeans
In the Encapsulate Fields dialog, check the boxes to create both getter and setter methods for the hasVoted property and click Refactor.
「フィールドをカプセル化」ダイアログで、「hasVoted」プロパティーに取得メソッドと設定メソッドの両方を作成するボックスを選択して、「リファクタリング」をクリックします。 - NetBeans
In the Encapsulate Fields dialog, check the boxes to create both getter and setter methods for the timestamp property and click Refactor.
「フィールドをカプセル化」ダイアログで、「timestamp」プロパティーに取得メソッドと設定メソッドの両方を作成するボックスを選択して、「リファクタリング」をクリックします。 - NetBeans
In the Projects window, expand the Web pages node, right-click on Page1.jsp, and choose Refactor Rename.The Rename dialog box opens.
「プロジェクト」ウィンドウで「Web ページ」ノードを展開し、「Page1.jsp」を右クリックして「リファクタリング」「名前を変更」を選択します。 「名前を変更」ダイアログが表示されます。 - NetBeans
When attempting to rename a class by choosing Refactor Rename, the file is renamed, but not the class or its constructors. 「リファクタリング」「名前を変更」を選択してクラス名を変更すると、ファイル名が変更されるだけで、クラスやそのコンストラクタの名前が変更されない。 - NetBeans
After finding these usages, you can rename all occurrences of the variable or operation and refactor throughout the product.
使用状況を検索したら、製品全体で変数または操作が出現するすべての箇所で名前を変更し、リファクタリングを行うことができます。 - NetBeans
Make sure that the variable declaration for field visibility is private and accessor visibility public, and click Refactor.
フィールドの可視性に対する変数の宣言は非公開で、アクセス用の可視性に対する変数の宣言は公開であることを確認し、「リファクタリング」をクリックします。 - NetBeans
Select the variable in the editor again and select Refactor - Rename (Ctrl-R/Command-R).A dialog box opens in which you type the new name.
エディタ内でふたたび同じ変数を選択し、「リファクタリング」「名前を変更」(Ctrl-R または Command-R) を選択します。 ダイアログが開くので、新しい名前を入力します。 - NetBeans
Right-click the word name in the field declaration at the start of the class and choose Refactor Encapsulate Fields.Click Next to run the command with its default options. クラスの先頭部分のフィールド宣言にある変数 name を右クリックして、「リファクタリング」「フィールドをカプセル化」を選択します。 「次へ」をクリックして、デフォルトのオプションでコマンドを実行します。 - NetBeans
Often you will want to reimplement or refactor a large class which is used in several different applications. Without a test suite the likeliness of you breaking something in one of the applications that depends on your class is very high.
また、以前に使ったクラスの再実装をするような場合を考えると、テストスイート無しでは、そのクラスに依存するアプリケーションに不具合を発生させる可能性が高くなります。 - PEAR
Nick Sieger demonstrates behavior driven development using RSpec in the NetBeans Ruby support.He tests the Ruby Weblog application by using the Red/Green refactor cycle of running, modifying, saving, and running tests.
Nick Sieger が、NetBeans の Ruby サポートで RSpec を使用した BDD (ビヘイビア駆動開発) のデモを行なっています。 実行、変更、保存、およびテスト実行のレッド/グリーンのリファクタリングサイクルを使用して Ruby のブログアプリケーションをテストしています。 - NetBeans
Just as you factor an expression to make it easier to understand or modify, you refactor code to make it easier to read, simpler to understand, and faster to update.
式を分解することでわかりやすくしたり、変更しやすくしたりするのと同様に、コードを構成要素単位に分解することで読みやすくしたり、わかりやすくしたりできるほか、更新も早くできるようになります。 - NetBeans
This procedure will rename all occurrences in the same WSDL file.If you want to rename all occurrences in the same WSDL file and all associated XSD, WSDL, and BPEL files,then right-click the component and choose Refactor Rename.
この手順によって、同じ WSDL ファイル内のすべての名前が変更されます。 同じ WSDL ファイルとすべての関連 XSD、WSDL、および BPEL ファイル内のすべての名前を変更する場合は、コンポーネントを右クリックして、「リファクタリング」「名前を変更」を選択します。 - NetBeans
Right-click in the Source Editor and choose Refactor Encapsulate Fields to generate getters and setters for each of the fields.In the Encapsulate Fields dialog box, make sure that getter and setter check boxes are selected for the fields id, title and body. ソースエディタ内で右クリックし、「リファクタリング」「フィールドをカプセル化」を選択して、各フィールドの取得メソッドおよび設定メソッドを生成します。 「フィールドをカプセル化」ダイアログの、id、title、body の各フィールドで、取得メソッドおよび設定メソッドのチェックボックスが選択されていることを確認します。 - NetBeans
Right-click in the Source Editor and choose Refactor Encapsulate fields to generate getters and setters for each of the fields.In the Encapsulate Fields dialog box, make sure that the getter and setter check boxes are selected for all of the fields. ソースエディタ内で右クリックし、「リファクタリング」「フィールドをカプセル化」を選択して、各フィールドの取得メソッドおよび設定メソッドを生成します。 「フィールドをカプセル化」ダイアログで、すべてのフィールドについて取得メソッドおよび設定メソッドのチェックボックスが選択されていることを確認します。 - NetBeans
If you change the name of a message or part,then the WSDL Editor renames all occurrences in the same file.To rename all occurrences in associated XSD, WSDL, and BPEL files as well,right-click the component node and choose Refactor Rename.
メッセージまたは部品の名前を変更すると、WSDL エディタによって同じファイル内にある該当する個所の名前がすべて変更されます。 関連する XSD、WSDL、および BPEL の各ファイル内の該当する個所の名前もすべて変更するには、コンポーネントノードを右クリックし、「リファクタリング」「名前を変更」を選択します。 - NetBeans
If you change the name of a port type or operation,then the WSDL Editor renames all occurrences in the same file.To rename all occurrences in associated XSD, WSDL, and BPEL files as well,right-click the component node and choose Refactor Rename.
ポート型または操作の名前を変更すると、WSDL エディタによって同じファイル内にある該当する個所の名前がすべて変更されます。 関連する XSD、WSDL、および BPEL の各ファイル内の該当する個所の名前もすべて変更するには、コンポーネントノードを右クリックし、「リファクタリング」「名前を変更」を選択します。 - NetBeans
If you change the name of a binding,then the WSDL Editor renames all occurrences in the same file.To rename all occurrences in associated XSD, WSDL, and BPEL files as well,right-click the binding node and choose Refactor Rename.
結合の名前を変更すると、WSDL エディタによって同じファイル内にある該当する結合の名前がすべて変更されます。 関連する XSD、WSDL、および BPEL の各ファイル内の該当する結合の名前もすべて変更するには、結合ノードを右クリックし、「リファクタリング」「名前を変更」を選択します。 - NetBeans