* java/lang/reflect/Field.java: Made many methods private.
From-SVN: r46467
This commit is contained in:
parent
44d8e21c1e
commit
b8a5867e51
@ -1,5 +1,7 @@
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user