Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Black Magic in Java
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
kaiinui
August 20, 2014
Technology
1
600
Black Magic in Java
Black magic with annotation in Android Java development!
kaiinui
August 20, 2014
Tweet
Share
More Decks by kaiinui
See All by kaiinui
†黒魔術† と Annotation と AspectJ
kaiinui
3
1.2k
API開発自動化と量産
kaiinui
1
460
Other Decks in Technology
See All in Technology
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
【SLO】"多様な期待値" と向き合ってみた
z63d
2
260
LLM活用の壁を超える:リクルートR&Dの戦略と打ち手
recruitengineers
PRO
1
170
バクラクのSREにおけるAgentic AIへの挑戦/Our Journey with Agentic AI
taddy_919
1
500
生成AI活用によるPRレビュー改善の歩み
lycorptech_jp
PRO
4
1.7k
組織のSREを推進するためのPlatform EngineeringとEKS / Platform Engineering and EKS to drive SRE in your organization
chmikata
0
150
Agentic Codingの実践とチームで導入するための工夫
lycorptech_jp
PRO
0
200
OCI技術資料 : 外部接続 VPN接続 詳細
ocise
1
10k
ヘルシーSRE
tk3fftk
2
190
Lookerの最新バージョンv26.2がやばい話
waiwai2111
1
140
AIエージェントで変わる開発プロセス ― レビューボトルネックからの脱却
lycorptech_jp
PRO
2
790
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
130
Faster Mobile Websites
deanohume
310
31k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
50k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
First, design no harm
axbom
PRO
2
1.1k
Deep Space Network (abreviated)
tonyrice
0
81
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
Tell your own story through comics
letsgokoyo
1
830
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Amusing Abliteration
ianozsvald
0
120
Transcript
†黒魔術† @_kaiinui
Java の黒魔術: Annotation
Java の黒魔術: Annotation どうみても黒魔術
Java の黒魔術: Annotation Annotation as a code?
良さ? ・宣言的!! ・コードと「宣言」を分離出来る ・コードが短くなったり
例: ButterKnife
例: Retrofit
自作 Annotation を作る
ツール • AspectJ • java.lang.annotation
1. Annotation をつくる(カンタン)
2. AspectJ で黒魔術
@PotatoTip をつけるだけで
黒魔術がもっと気になる人 JakeWharton の Hugo とか参考にしてください>< 普通の Annotation の使い方は、 ButterKnife とか
ところで便利ライブラリ: Hugo
Annotation は Java の福音