001: /*******************************************************************************
002: * Copyright (c) 2000, 2007 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM Corporation - initial API and implementation
010: *******************************************************************************/package com.sun.jdi;
011:
012: import java.util.List;
013: import java.util.Map;
014:
015: public interface ReferenceType extends Type, Comparable, Accessible {
016: public List allFields();
017:
018: public List allLineLocations() throws AbsentInformationException;
019:
020: public List allLineLocations(String arg1, String arg2)
021: throws AbsentInformationException;
022:
023: public List allMethods();
024:
025: public List availableStrata();
026:
027: public ClassLoaderReference classLoader();
028:
029: public ClassObjectReference classObject();
030:
031: public String defaultStratum();
032:
033: public boolean equals(Object arg1);
034:
035: public boolean failedToInitialize();
036:
037: public Field fieldByName(String arg1);
038:
039: public List fields();
040:
041: public String genericSignature();
042:
043: public Value getValue(Field arg1);
044:
045: public Map getValues(List arg1);
046:
047: public int hashCode();
048:
049: public boolean isAbstract();
050:
051: public boolean isFinal();
052:
053: public boolean isInitialized();
054:
055: public boolean isPrepared();
056:
057: public boolean isStatic();
058:
059: public boolean isVerified();
060:
061: public List locationsOfLine(int arg1)
062: throws AbsentInformationException;
063:
064: public List locationsOfLine(String arg1, String arg2, int arg3)
065: throws AbsentInformationException;
066:
067: public List methods();
068:
069: public List methodsByName(String arg1);
070:
071: public List methodsByName(String arg1, String arg2);
072:
073: public String name();
074:
075: public List nestedTypes();
076:
077: public String sourceDebugExtension()
078: throws AbsentInformationException;
079:
080: public String sourceName() throws AbsentInformationException;
081:
082: public List sourceNames(String arg1)
083: throws AbsentInformationException;
084:
085: public List sourcePaths(String arg1)
086: throws AbsentInformationException;
087:
088: public List visibleFields();
089:
090: public List visibleMethods();
091:
092: public List instances(long arg1);
093:
094: public int majorVersion();
095:
096: public int minorVersion();
097:
098: public int constantPoolCount();
099:
100: public byte[] constantPool();
101: }
|