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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
kaiinui
August 20, 2014
Technology
630
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Black Magic in Java
Black magic with annotation in Android Java development!
kaiinui
August 20, 2014
More Decks by kaiinui
See All by kaiinui
†黒魔術† と Annotation と AspectJ
kaiinui
3
1.2k
API開発自動化と量産
kaiinui
1
470
Other Decks in Technology
See All in Technology
【CEDEC2026】次世代デジタルカードゲームのサーバー設計と運用 〜『Shadowverse: Worlds Beyond』の舞台裏~
cygames
PRO
1
930
もう一度考える SRE チームの作り方・育て方 / Rethinking SRE #1: Building and Growing SRE Teams
rrreeeyyy
6
1k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
19k
GitHub CopilotのFinOps- AI CreditのObservabilityと価値を生むためのエージェント設計
yuriemori
0
140
AIエージェントを前提としたプラットフォーム エンジニアリング:GKEで作るAgent-Ready Golden Path
legalontechnologies
PRO
2
210
OSPN.JPバージョンアップ作業進捗のご報告 / 20260801-osc26kyoto
akkiesoft
0
320
Atlassian Cloudサポート業務でのAIエージェント活用事例
smt7174
0
530
Pavlokで始める電撃駆動開発
sgrsn
0
170
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.7k
【Google Cloud Next Tokyo'26】Gemini Enterprise と Oracle AI Database で実現する、業務データ活用を実現する AI エージェント実装
shisyu_gaku
0
220
Retriever と Reranker、結局どうする?
kazuaki
3
680
SnowflakeCoCoでデータエンジニアリング!
foursue
0
180
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
Scaling GitHub
holman
464
140k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
430
We Are The Robots
honzajavorek
0
290
エンジニアに許された特別な時間の終わり
watany
108
250k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
720
Practical Orchestrator
shlominoach
191
12k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Navigating Team Friction
lara
192
16k
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 の福音