JavaInvokeDynamic2.st
changeset 3106 e53888146940
child 3290 76d4443744ed
equal deleted inserted replaced
3105:7cc116da75e8 3106:e53888146940
       
     1 "
       
     2  COPYRIGHT (c) 1996-2011 by Claus Gittinger
       
     3 
       
     4  New code and modifications done at SWING Research Group [1]:
       
     5 
       
     6  COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
       
     7                             SWING Research Group, Czech Technical University in Prague
       
     8 
       
     9  This software is furnished under a license and may be used
       
    10  only in accordance with the terms of that license and with the
       
    11  inclusion of the above copyright notice.   This software may not
       
    12  be provided or otherwise made available to, or used by, any
       
    13  other person.  No title to or ownership of the software is
       
    14  hereby transferred.
       
    15 
       
    16  [1] Code written at SWING Research Group contains a signature
       
    17      of one of the above copright owners. For exact set of such code,
       
    18      see the differences between this version and version stx:libjava
       
    19      as of 1.9.2010
       
    20 "
       
    21 "{ Package: 'stx:libjava' }"
       
    22 
       
    23 JavaRef2 subclass:#JavaInvokeDynamic2
       
    24 	instanceVariableNames:'bootstrapMethodAttrIndex nameAndTypeIndex'
       
    25 	classVariableNames:''
       
    26 	poolDictionaries:''
       
    27 	category:'Languages-Java-Reader-Support-new'
       
    28 !
       
    29 
       
    30 !JavaInvokeDynamic2 class methodsFor:'documentation'!
       
    31 
       
    32 copyright
       
    33 "
       
    34  COPYRIGHT (c) 1996-2011 by Claus Gittinger
       
    35 
       
    36  New code and modifications done at SWING Research Group [1]:
       
    37 
       
    38  COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
       
    39                             SWING Research Group, Czech Technical University in Prague
       
    40 
       
    41  This software is furnished under a license and may be used
       
    42  only in accordance with the terms of that license and with the
       
    43  inclusion of the above copyright notice.   This software may not
       
    44  be provided or otherwise made available to, or used by, any
       
    45  other person.  No title to or ownership of the software is
       
    46  hereby transferred.
       
    47 
       
    48  [1] Code written at SWING Research Group contains a signature
       
    49      of one of the above copright owners. For exact set of such code,
       
    50      see the differences between this version and version stx:libjava
       
    51      as of 1.9.2010
       
    52 
       
    53 "
       
    54 ! !
       
    55 
       
    56 !JavaInvokeDynamic2 class methodsFor:'instance creation'!
       
    57 
       
    58 in:arg1 bootstrapMethodAttrIndex:arg2 nameAndTypeIndex:arg3
       
    59     ^ self basicNew 
       
    60         constantPool: arg1;
       
    61         bootstrapMethodAttrIndex: arg2;
       
    62         nameAndTypeIndex:arg3
       
    63         yourself
       
    64 
       
    65     "Created: / 20-05-2014 / 17:36:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    66 ! !
       
    67 
       
    68 !JavaInvokeDynamic2 methodsFor:'accessing'!
       
    69 
       
    70 bootstrapMethodAttrIndex
       
    71     ^ bootstrapMethodAttrIndex
       
    72 !
       
    73 
       
    74 bootstrapMethodAttrIndex:anInteger 
       
    75     bootstrapMethodAttrIndex := anInteger.
       
    76 !
       
    77 
       
    78 nameAndTypeIndex
       
    79     ^ nameAndTypeIndex
       
    80 !
       
    81 
       
    82 nameAndTypeIndex:anInteger
       
    83     nameAndTypeIndex := anInteger.
       
    84 ! !
       
    85