全パッケージ  クラス階層  このパッケージ  前項目  次項目  インデックス
  クラスsun.tools.debug.RemoteClass
java.lang.Object
   |
   +----sun.tools.debug.RemoteValue
           |
           +----sun.tools.debug.RemoteObject
                   |
                   +----sun.tools.debug.RemoteClass
  -  public class RemoteClass
  -  extends RemoteObject
RemoteClassクラスは、リモートJavaインタープリタのクラスへのアクセスを可能にします。
    -  参照:
    
-  RemoteDebugger
   
  -   catchExceptions() catchExceptions()
-   このクラスのインスタンスがスローされたとき、デバッガを入力します。
  
-   clearBreakpoint(int) clearBreakpoint(int)
-  クラスの特定のアドレスにおけるブレークポイントをクリアします。
  
-   clearBreakpointLine(int) clearBreakpointLine(int)
-  特定の行のブレークポイントをクリアします。
  
-   clearBreakpointMethod(RemoteField) clearBreakpointMethod(RemoteField)
-  特定のメソッドの最初にあるブレークポイントをクリアします。
  
-   description() description()
-  (やや長めの)説明文を返します。
  
-   getClassLoader() getClassLoader()
- このクラスのclassloaderを返します。
  
-   getField(int) getField(int)
-   インデックスが指定された静的フィールドを返します。
  
-   getField(String) getField(String)
-   名前が指定された静的フィールドを返します。
  
-   getFields() getFields()
-  このクラスのすべての静的フィールドを返します。
  
-   getFieldValue(int) getFieldValue(int)
-   インデックスが指定された静的フィールドの値を返します。
  
-   getFieldValue(String) getFieldValue(String)
-   名前が指定された静的フィールドの値を返します。
  
-   getInstanceField(int) getInstanceField(int)
-   インデックスが指定されたインスタンスフィールドを返します。
  
-   getInstanceFields() getInstanceFields()
-  このクラスのすべてのインスタンスを返します。
  
-   getInterfaces() getInterfaces()
-  このクラスのインターフェースを返します。
  
-   getLineNumbers() getLineNumbers()
-  コードが関連づけられている、すべてのクラスにおけるソースファイルの行番号の配列を返します。
  
-   getMethod(String) getMethod(String)
-   名前が指定されたメソッドを返します。
  
-   getMethodLineNumber(int) getMethodLineNumber(int)
-   指定されたメソッドの最初の行番号を返すか、NoSuchLineNumber例外をスローします。
  
-   getMethodLineNumber(String) getMethodLineNumber(String)
-   指定されたメソッドの最初の行番号を返すか、NoSuchLineNumber例外をスローします。
  
-   getMethodNames() getMethodNames()
-  このクラスによってサポートされるすべてのメソッドの名前を返します。
  
-   getMethods() getMethods()
-   クラスのメソッドを返します。
  
-   getName() getName()
-  クラスの名前を返します。
  
-   getSourceFile() getSourceFile()
-  このスタックフレームによって参照されるソースファイルを取得します。
  
-   getSourceFileName() getSourceFileName()
-  このスタックフレームによって参照されるソースファイルの名前を取得します。
  
-   getStaticFields() getStaticFields()
-  このクラスのすべての静的フィールドを取得します。
  
-   getSuperclass() getSuperclass()
-   このクラスのスーパークラスを返します。
  
-   ignoreExceptions() ignoreExceptions()
-   このクラスのインスタンスがスローされたときには、デバッガを入力しません。
  
-   isInterface() isInterface()
- このRemoteClassがインターフェースか?
 
  
-   setBreakpointLine(int) setBreakpointLine(int)
-  クラスの特定のソース行番号にブレークポイントを設定します。
  
-   setBreakpointMethod(RemoteField) setBreakpointMethod(RemoteField)
-  クラスメソッドの最初の行にブレークポイントを設定します。
  
-   toString() toString()
-  (やや長めの)説明文を返します。
  
-   typeName() typeName()
-   クラスの名前をそのタイプとして返します。
   
 getName
getName
  public String getName() throws Exception
  -  クラスの名前を返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合
  
 
 typeName
typeName
  public String typeName() throws Exception
  -  クラスの名前を、そのタイプとして返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合
    
-  オーバーライド:
    
-  クラス RemoteObject の typeName
  
 
 isInterface
isInterface
  public boolean isInterface() throws Exception
  - このRemoteClassがインターフェースか?
   
- 
    -  例外: Exception
    
- 一般的な例外が発生した場合
  
 
 getSuperclass
getSuperclass
  public RemoteClass getSuperclass() throws Exception
  -  このクラスのスーパークラスを返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 getClassLoader
getClassLoader
  public RemoteObject getClassLoader() throws Exception
  -  このクラスのクラスローダを返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 getInterfaces
getInterfaces
  public RemoteClass[] getInterfaces() throws Exception
  -  このクラスのインターフェースを返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 getSourceFileName
getSourceFileName
  public String getSourceFileName() throws Exception
  -  このスタックフレームによって参照されるソースファイルの名前を取得します。
   
- 
    -  例外: Exception
    
- 一般的な例外が発生した場合。
  
 
 getSourceFile
getSourceFile
  public InputStream getSourceFile() throws Exception
  -  このスタックフレームによって参照されるソースファイルの名前を取得します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 getFields
getFields
  public RemoteField[] getFields() throws Exception
  -  このクラスのすべての静的フィールドを返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
    
-  オーバーライド:
    
-  クラス RemoteObject の getFields
  
 
 getStaticFields
getStaticFields
  public RemoteField[] getStaticFields() throws Exception
  -  このクラスのすべての静的フィールドを返します。
   
- 
    -  例外: Exception
    
- 一般的な例外が発生した場合。
  
 
 getInstanceFields
getInstanceFields
  public RemoteField[] getInstanceFields() throws Exception
  -  このクラスのすべてのインスタンスフィールドを返します。
  注意:これはRemoteClassメソッドであるため、名前とタイプのメソッドだけが有効となり、データは有効とはなりません。
   
- 
    -  例外: Exception
    
- 一般的な例外が発生した場合。
  
 
 getField
getField
  public RemoteField getField(int n) throws Exception
  -  インデックスによって指定された静的フィールドを返します。
   
- 
    -  例外: ArrayIndexOutOfBoundsException
    
- インデックスが、インスタンスの変数の数より大きい場合。
    
-  例外: Exception
    
- 一般的な例外が発生した場合。
    
-  オーバーライド:
    
-  クラス RemoteObjectのgetField
  
 
 getField
getField
  public RemoteField getField(String name) throws NoSuchFieldException, Exception
  -  名前によって指定された静的フィールドを返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
    
-  例外: NoSuchFieldException
    
-  指定された名前を持つフィールドが見つからない場合。
    
-  オーバーライド:
    
-  クラス RemoteObject の getField
  
 
 getInstanceField
getInstanceField
  public RemoteField getInstanceField(int n) throws Exception
  -  インデックスによって指定されたインスタンスフィールドを返します。
 注意:これはRemoteClassメソッドであるため、名前とタイプのメソッドだけが有効となり、データは有効とはなりません。
   
- 
    -  例外: ArrayIndexOutOfBoundsException
    
- インデックスが、インスタンスの変数の数より大きい場合。
    
-  例外: Exception
    
- 一般的な例外が発生した場合。
  
 
 getFieldValue
getFieldValue
  public RemoteValue getFieldValue(int n) throws Exception
  -  インデックスによって指定された静的フィールドの値を返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
    
-  オーバーライド:
    
-  クラス RemoteObject の getFieldValue
  
 
 getFieldValue
getFieldValue
  public RemoteValue getFieldValue(String name) throws NoSuchFieldException, Exception
  -  名前によって指定された静的フィールドの値を返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
    
-  例外: NoSuchFieldException
    
-  指定された名前を持つフィールドが見つからない場合。
    
-  オーバーライド:
    
-  クラスRemoteObjectのgetFieldValue
  
 
 getMethod
getMethod
  public RemoteField getMethod(String name) throws NoSuchMethodException, Exception
  -  名前によって指定されたメソッドを返します。
   
- 
    -  例外: Exception
    
- 一般的な例外が発生した場合。
    
-  例外: NoSuchMethodException
    
-  マッチするメソッドが見つからない場合。
  
 
 getMethods
getMethods
  public RemoteField[] getMethods() throws Exception
  -  クラスのメソッドを返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 getMethodNames
getMethodNames
  public String[] getMethodNames() throws Exception
  -  このクラスによってサポートされるすべてのメソッドの名前を返します。
   
- 
    -  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 getMethodLineNumber
getMethodLineNumber
  public int getMethodLineNumber(String name) throws NoSuchMethodException, NoSuchLineNumberException, Exception
  - 指定されたメソッドの最初の行番号を返すか、NoSuchLineNumber例外をスローします。
   
- 
    -  パラメータ:
    
-  name - メソッドの名前
    
-  返り値:
    
-  メソッドの最初の行番号
    
-  例外: Exception
    
-  一般的な例外が発生した場合。
    
-  例外: NoSuchLineNumberException
    
-  Javaソースファイルの指定された行番号に、コードが関連づけられていない場合。
    
-  例外: NoSuchMethodException
    
-  マッチするメソッドが見つからない場合。
  
 
 getMethodLineNumber
getMethodLineNumber
  public int getMethodLineNumber(int index) throws IndexOutOfBoundsException, NoSuchLineNumberException, Exception
  -  指定されたメソッドの最初の行番号を返すか、NoSuchLineNumber例外をスローします。
   
- 
    -  パラメータ:
    
-  index - getMethods()から返された配列に見つかったメソッドのインデックス.
    
-  返り値:
    
- メソッドの最初の行番号
    
-  例外: Exception
    
-   一般的な例外が発生した場合。
    
-  例外: NoSuchLineNumberException
    
-  Javaソースファイルの指定された行番号に、コードが関連づけられていない場合。
  
 
 setBreakpointLine
setBreakpointLine
  public String setBreakpointLine(int lineno) throws Exception
  -  クラスの指定された行番号にブレークポイントを設定します。
   
- 
    -  パラメータ:
    
-  lineno - ブレークポイントが設定されている行番号。
    
-  返り値:
    
-  正常な場合は空の文字列、それ以外の場合はエラーの説明文です。
    
-  例外: Exception
    
-   一般的な例外が発生した場合。
  
 
 setBreakpointMethod
setBreakpointMethod
  public String setBreakpointMethod(RemoteField method) throws Exception
  -  クラスメソッドの最初の行にブレークポイントを設定します。
   
- 
    -  パラメータ:
    
-  メソッド-ブレークポイントが設定されているメソッド
    
-  返り値:
    
-  正常な場合は空の文字列、それ以外の場合はエラーの説明文です。
    
-  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 clearBreakpoint
clearBreakpoint
  public String clearBreakpoint(int pc) throws Exception
  -  クラスにおける、指定されたアドレスのブレークポイントをクリアします。
   
- 
    -  パラメータ:
    
-  pc - クリアするブレークポイントのアドレス。
    
-  返り値:
    
-  正常な場合は空の文字列、それ以外の場合はエラーの説明文です。
    
-  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 clearBreakpointLine
clearBreakpointLine
  public String clearBreakpointLine(int lineno) throws Exception
  -  指定された行のブレークポイントをクリアします。
   
- 
    -  パラメータ:
    
-  lineno - クリアするブレークポイントの行番号
    
-  返り値:
    
-  正常な場合は空の文字列、それ以外の場合はエラーの説明文です。
    
-  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 clearBreakpointMethod
clearBreakpointMethod
  public String clearBreakpointMethod(RemoteField method) throws Exception
  -  特定のメソッドの最初にあるブレークポイントをクリアします。
   
- 
    -  パラメータ:
    
-  method - クリアするブレークポイントのメソッド
    
-  返り値:
    
- 正常な場合は空の文字列、それ以外の場合はエラーの説明文です。
    
-  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 catchExceptions
catchExceptions
  public void catchExceptions() throws Exception
  -  このクラスのインスタンスがスローされたとき、デバッガを入力します。
   
- 
    -  例外: ClassCastException
    
- このクラスが例外クラスではない場合。
    
-  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 ignoreExceptions
ignoreExceptions
  public void ignoreExceptions() throws Exception
  -  このクラスのインスタンスがスローされた場合、デバッガを入力しません。
   
- 
    -  例外: ClassCastException
    
-  このクラスが例外クラスではない場合
    
-  例外: Exception
    
- 一般的な例外が発生した場合。
  
 
 getLineNumbers
getLineNumbers
  public int[] getLineNumbers() throws Exception
  -  関連づけられたコードを持たない、すべてのクラスにおけるソースファイルの行番号の配列を返します。クラスは、行番号情報とともにコンパイルすることができないため、この配列の長さがゼロとなる場合もあります。
   
- 
    -  返り値:
    
-  有効な行番号の整数の配列
    
-  例外: Exception
    
-  一般的な例外が発生した場合。
  
 
 description
description
  public String description()
  -   (やや長めの)説明文を返します。
   
- 
    -  オーバーライド:
    
-  クラス RemoteObject の description
  
 
 toString
toString
  public String toString()
  -   (やや長めの)説明文を返します。
   
- 
    -  オーバーライド:
    
-  クラスRemoteObjectのtoString
  
 
全パッケージ  クラス階層  このパッケージ  前項目  次項目  インデックス