Upgrade to Pro — share decks privately, control downloads, hide ads and more …

アノテーションでちょっとだけ楽する話

 アノテーションでちょっとだけ楽する話

misyobun

March 12, 2014
Tweet

More Decks by misyobun

Other Decks in Programming

Transcript

  1. ΞϊςʔγϣϯͰͪΐͬͱָ͚ͩ͢Δ࿩
    /BPUP5BLBIBTIJ
    1
    14೥3݄13೔໦༵೔

    View full-size slide

  2. ࣗݾ঺հ
    w ∁ڮ௚ਓ !NJTZPCVO

    w IUUQWBHSBOUVQKQ
    w IUUQEBMWJLJO
    w QBQFSCPZDPॴଐ J04ΤϯδχΞ

    w ݸਓతʹ͸"OESPJE͕޷͖
    2
    14೥3݄13೔໦༵೔

    View full-size slide

  3. 3
    14೥3݄13೔໦༵೔

    View full-size slide

  4. ࠓ೔ͷ࿩
    .JDIFMBOHFMP
    4
    14೥3݄13೔໦༵೔

    View full-size slide

  5. ҧ͍·͢ʂ
    5
    14೥3݄13೔໦༵೔

    View full-size slide

  6. ϛέϥϯδΣϩɾϒΦφϩʔςΟ
    ΠλϦΞ੝ظϧωαϯεظͷூࠁՈɺըՈɺݐஙՈɺࢻਓ
    ੯͍͠ʂ
    6
    14೥3݄13೔໦༵೔

    View full-size slide

  7. -BZPVUJOqBUJPO-JCSBSZͷ
    .JDIFMBOHFMPͰͨ͠ʂ
    7
    14೥3݄13೔໦༵೔

    View full-size slide

  8. wෳ਺ͷ7JFXʹΑͬͯߏ੒͞ΕΔΧελ
    ϜϏϡʔΛΞϊςʔγϣϯΛ༻͍ͯɺগ
    ͳ͍ίʔυͰ࣮૷͢Δ͜ͱ͕Ͱ͖Δ
    w7JFXͷΠϯϑϨʔτ௚ޙʹ࣮ߦͤͨ͞
    ͍ॲཧ΋ΞϊςʔγϣϯͰࢦఆ͕Մೳ
    8
    14೥3݄13೔໦༵೔

    View full-size slide

  9. ͜͏͍͏-JTU7JFXΛߟ͑Δ
    9
    14೥3݄13೔໦༵೔

    View full-size slide

  10. ͜͏͍͏-JTU7JFXΛߟ͑Δ
    ߦΛߏ੒͢Δ7JFX
    ͕ੌ͍໘౗ͦ͘͞͏ʂ
    ʂʂ
    ന͍ʂ
    10
    14೥3݄13೔໦༵೔

    View full-size slide

  11. Α͋͘Δॻ͖ํ
    11
    14೥3݄13೔໦༵೔

    View full-size slide

  12. .JDIFMBOHFMPΛ࢖͏ͱ
    12
    14೥3݄13೔໦༵೔

    View full-size slide

  13. .JDIFMBOHFMPΛ࢖͏ͱ
    !*OqBUF-BZPVUͰ
    ΠϯϑϨʔτ͢ΔϨΠΞ΢τ9.-Λࢦఆ
    !"GUFS*OqBUFͰ
    ΠϯϑϨʔτޙͷॲཧΛࢦఆ͢Δ͜ͱ͕Մೳ
    13
    14೥3݄13೔໦༵೔

    View full-size slide

  14. #VUUFS,OJGFͱ΋਌࿨ੑ͕͋Δ
    ͦ͏ͳΔͱɺ͜͜ͷ
    ίʔυ΋ॻ͔ͳ͘
    ͯɾɾɾ͍͍ʂ
    14
    14೥3݄13೔໦༵೔

    View full-size slide

  15. #VUUFS,OJGFͱ΋਌࿨ੑ͕͋Δ
    15
    14೥3݄13೔໦༵೔

    View full-size slide

  16. ݁࿦
    w.JDIFMBOHFMP #VUUFS,OJGF
    Λ࢖͏ͱ
    ίʔυΛ੔ཧָ͕ͯ͠Ͱ͖Δ
    wՄಡੑ΋͕͋ΔͷͰɺνʔϜͷਓୡ΋
    ָ͕ͦͦ͜͜Ͱ͖Δ
    16
    14೥3݄13೔໦༵೔

    View full-size slide

  17. ࢀর
    w.JDIFMBOHFMPʢIUUQTHJUIVCDPN
    3PNBJO1JFM.JDIFMBOHFMPʣ
    w#VUUFS,OJGFʢIUUQTHJUIVCDPN
    +BLF8IBSUPOCVUUFSLOJGF

    ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ
    17
    14೥3݄13೔໦༵೔

    View full-size slide

  18. αϯϓϧ
    w HJU!HJUIVCDPNNJTZPCVO5FNQMBUF8JUI.JDIFMBOHFMPHJU
    18
    14೥3݄13೔໦༵೔

    View full-size slide