Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Black Magic in Java
Search
kaiinui
August 20, 2014
Technology
650
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
Transcript
15 slides
†黒魔術† @_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 の福音
More Decks by kaiinui
See All by kaiinui
†黒魔術† と Annotation と AspectJ
kaiinui
3
1.2k
API開発自動化と量産
kaiinui
1
480
Other Decks in Technology
See All in Technology
Biohub - Cell Tracking During Development 5th place solution
rist
0
140
Kiro 入門 (1 つのエージェントを、どの画面からでも) | 目指せ Kiro マスター 01
inariku
PRO
6
1.7k
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
160
BALLAS Technology Deck
ballas_inc
0
580
AIエージェントの監視、思考を見るか行動を見るか / Monitoring AI Agents: Thoughts or Actions
yusukeshimizu
2
190
cdkd (CDK Direct)
gotok365
4
310
Claude Codeで新規事業を伸ばせるか? Zennの試行錯誤の記録
wadayusuke
2
160
Intro to Kiro (One agent, every surface) | Kiro: Zero to Hero 01
inariku
PRO
2
120
田んぼの見回りをIoTで減らしたい!水位監視から電池駆動カメラまでの試行錯誤
itosoft
1
120
DevOps Agentにあらゆるセキュリティインシデントのトリアージを任せた件
jirtosterone
1
130
Kiro を使うコツ (頼み方、覚えさせ方、任せ方) | 目指せ Kiro マスター 09
inariku
PRO
3
150
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
220
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
Prompt Engineering for Job Search
mfonobong
0
580
Amusing Abliteration
ianozsvald
1
390
The untapped power of vector embeddings
frankvandijk
2
2k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
610
KATA
mclloyd
PRO
35
16k
Raft: Consensus for Rubyists
vanstee
143
7.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
570