diff options
Diffstat (limited to 'org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ReferenceType.java')
-rw-r--r-- | org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ReferenceType.java | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ReferenceType.java b/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ReferenceType.java index f205b8304..e9a1a5d64 100644 --- a/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ReferenceType.java +++ b/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ReferenceType.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -10,26 +10,27 @@ *******************************************************************************/ package com.sun.jdi; - import java.util.List; import java.util.Map; - -public interface ReferenceType extends Type , Comparable , Accessible { - public List allFields(); - public List allLineLocations() throws AbsentInformationException; - public List allLineLocations(String arg1, String arg2) throws AbsentInformationException; - public List allMethods(); - public List availableStrata(); +/** + * See http://docs.oracle.com/javase/6/docs/jdk/api/jpda/jdi/com/sun/jdi/ReferenceType.html + */ +public interface ReferenceType extends Type, Comparable<ReferenceType>, Accessible { + public List<Field> allFields(); + public List<Location> allLineLocations() throws AbsentInformationException; + public List<Location> allLineLocations(String arg1, String arg2) throws AbsentInformationException; + public List<Method> allMethods(); + public List<String> availableStrata(); public ClassLoaderReference classLoader(); public ClassObjectReference classObject(); public String defaultStratum(); public boolean equals(Object arg1); public boolean failedToInitialize(); public Field fieldByName(String arg1); - public List fields(); + public List<Field> fields(); public String genericSignature(); public Value getValue(Field arg1); - public Map getValues(List arg1); + public Map<Field, Value> getValues(List<? extends Field> arg1); public int hashCode(); public boolean isAbstract(); public boolean isFinal(); @@ -37,22 +38,22 @@ public interface ReferenceType extends Type , Comparable , Accessible { public boolean isPrepared(); public boolean isStatic(); public boolean isVerified(); - public List locationsOfLine(int arg1) throws AbsentInformationException; - public List locationsOfLine(String arg1, String arg2, int arg3) throws AbsentInformationException; - public List methods(); - public List methodsByName(String arg1); - public List methodsByName(String arg1, String arg2); + public List<Location> locationsOfLine(int arg1) throws AbsentInformationException; + public List<Location> locationsOfLine(String arg1, String arg2, int arg3) throws AbsentInformationException; + public List<Method> methods(); + public List<Method> methodsByName(String arg1); + public List<Method> methodsByName(String arg1, String arg2); public String name(); - public List nestedTypes(); + public List<ReferenceType> nestedTypes(); public String sourceDebugExtension() throws AbsentInformationException; public String sourceName() throws AbsentInformationException; - public List sourceNames(String arg1) throws AbsentInformationException; - public List sourcePaths(String arg1) throws AbsentInformationException; - public List visibleFields(); - public List visibleMethods(); - public List instances(long arg1); + public List<String> sourceNames(String arg1) throws AbsentInformationException; + public List<String> sourcePaths(String arg1) throws AbsentInformationException; + public List<Field> visibleFields(); + public List<Method> visibleMethods(); + public List<ObjectReference> instances(long arg1); public int majorVersion(); - public int minorVersion(); - public int constantPoolCount(); - public byte[] constantPool(); + public int minorVersion(); + public int constantPoolCount(); + public byte[] constantPool(); } |