Commit b8a5867e by Tom Tromey Committed by Tom Tromey

* java/lang/reflect/Field.java: Made many methods private.

From-SVN: r46467
parent 44d8e21c
2001-10-24 Tom Tromey <tromey@redhat.com>
* java/lang/reflect/Field.java: Made many methods private.
* java/sql/Types.java (Types): New constructor.
Tue Oct 23 23:52:18 2001 Anthony Green <green@redhat.com>
......
......@@ -144,7 +144,7 @@ public final class Field extends AccessibleObject implements Member
private native double getDouble (Class caller, Object obj)
throws IllegalArgumentException, IllegalAccessException;
public native Object get (Class caller, Object obj)
private native Object get (Class caller, Object obj)
throws IllegalArgumentException, IllegalAccessException;
public void setByte (Object obj, byte b)
......@@ -195,28 +195,28 @@ public final class Field extends AccessibleObject implements Member
setBoolean(null, obj, b);
}
public native void setByte (Class caller, Object obj, byte b)
private native void setByte (Class caller, Object obj, byte b)
throws IllegalArgumentException, IllegalAccessException;
public native void setShort (Class caller, Object obj, short s)
private native void setShort (Class caller, Object obj, short s)
throws IllegalArgumentException, IllegalAccessException;
public native void setInt (Class caller, Object obj, int i)
private native void setInt (Class caller, Object obj, int i)
throws IllegalArgumentException, IllegalAccessException;
public native void setLong (Class caller, Object obj, long l)
private native void setLong (Class caller, Object obj, long l)
throws IllegalArgumentException, IllegalAccessException;
public native void setFloat (Class caller, Object obj, float f)
private native void setFloat (Class caller, Object obj, float f)
throws IllegalArgumentException, IllegalAccessException;
public native void setDouble (Class caller, Object obj, double d)
private native void setDouble (Class caller, Object obj, double d)
throws IllegalArgumentException, IllegalAccessException;
public native void setChar (Class caller, Object obj, char c)
private native void setChar (Class caller, Object obj, char c)
throws IllegalArgumentException, IllegalAccessException;
public native void setBoolean (Class caller, Object obj, boolean b)
private native void setBoolean (Class caller, Object obj, boolean b)
throws IllegalArgumentException, IllegalAccessException;
private native void set (Class caller, Object obj, Object val, Class type)
......@@ -228,7 +228,7 @@ public final class Field extends AccessibleObject implements Member
set(null, object, value);
}
public void set (Class caller, Object object, Object value)
private void set (Class caller, Object object, Object value)
throws IllegalArgumentException, IllegalAccessException
{
Class type = getType();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment